summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cache.cpp')
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index 45fc852d..bc364c34 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -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);