summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-08-22 15:09:18 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-08-22 15:09:27 +0200
commit2cabd107bf5b304442cf858f0b988f42b088251e (patch)
treeee7dbd01f1d1270482986c61f243a454ec981b4a /src
parentEven if you just change the log level, ensure that this compiles before pushi... (diff)
downloadnheko-2cabd107bf5b304442cf858f0b988f42b088251e.tar.xz
Useless capture
Diffstat (limited to 'src')
-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);