Useless capture
This commit is contained in:
parent
055f0d6709
commit
2cabd107bf
@ -1135,7 +1135,7 @@ Cache::runMigrations()
|
|||||||
[this]() {
|
[this]() {
|
||||||
try {
|
try {
|
||||||
auto txn = lmdb::txn::begin(env_, nullptr);
|
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 {
|
try {
|
||||||
auto db = lmdb::dbi::open(txn, dbName.c_str());
|
auto db = lmdb::dbi::open(txn, dbName.c_str());
|
||||||
db.drop(txn, true);
|
db.drop(txn, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user