Useless capture

This commit is contained in:
Nicolas Werner 2021-08-22 15:09:18 +02:00
parent 055f0d6709
commit 2cabd107bf
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 1 additions and 1 deletions

View File

@ -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);