mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-12-01 22:58:49 +03:00
Fix shadowing
This commit is contained in:
parent
110fef5c68
commit
69e65cef2f
1 changed files with 2 additions and 3 deletions
|
@ -4013,8 +4013,7 @@ Cache::markUserKeysOutOfDate(lmdb::txn &txn,
|
||||||
UserKeyCache cacheEntry;
|
UserKeyCache cacheEntry;
|
||||||
auto res = db.get(txn, user, oldKeys);
|
auto res = db.get(txn, user, oldKeys);
|
||||||
if (res) {
|
if (res) {
|
||||||
auto cacheEntry =
|
cacheEntry = json::parse(std::string_view(oldKeys.data(), oldKeys.size()))
|
||||||
json::parse(std::string_view(oldKeys.data(), oldKeys.size()))
|
|
||||||
.get<UserKeyCache>();
|
.get<UserKeyCache>();
|
||||||
}
|
}
|
||||||
cacheEntry.last_changed = sync_token;
|
cacheEntry.last_changed = sync_token;
|
||||||
|
|
Loading…
Reference in a new issue