Useless capture

pull/691/head
Nicolas Werner 4 years ago
parent 055f0d6709
commit 2cabd107bf
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      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);

Loading…
Cancel
Save