mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
Useless capture
This commit is contained in:
parent
055f0d6709
commit
2cabd107bf
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue