Fix variable shadowing on clang

remotes/origin/HEAD
Konstantinos Sideris 7 years ago
parent e4dedbcaba
commit 00f99d9ae5
  1. 6
      src/Cache.cpp

@ -878,9 +878,9 @@ Cache::saveState(const mtx::responses::Sync &res)
txn.commit();
for (const auto &room : res.rooms.join) {
auto txn = lmdb::txn::begin(env_);
notifyForReadReceipts(txn, room.first);
txn.commit();
auto tmpTxn = lmdb::txn::begin(env_);
notifyForReadReceipts(tmpTxn, room.first);
tmpTxn.commit();
}
}

Loading…
Cancel
Save