mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +03:00
Useless capture
This commit is contained in:
parent
055f0d6709
commit
2cabd107bf
1 changed files with 1 additions and 1 deletions
|
@ -1135,7 +1135,7 @@ Cache::runMigrations()
|
|||
[this]() {
|
||||
try {
|
||||
auto txn = lmdb::txn::begin(env_, nullptr);
|
||||
auto try_drop = [this, &txn](const std::string &dbName) {
|
||||
auto try_drop = [&txn](const std::string &dbName) {
|
||||
try {
|
||||
auto db = lmdb::dbi::open(txn, dbName.c_str());
|
||||
db.drop(txn, true);
|
||||
|
|
Loading…
Reference in a new issue