diff options
Diffstat (limited to 'tde2e/td/e2e/EncryptedStorage.cpp')
| -rw-r--r-- | tde2e/td/e2e/EncryptedStorage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tde2e/td/e2e/EncryptedStorage.cpp b/tde2e/td/e2e/EncryptedStorage.cpp index 359e5eeb7..f451c2b9e 100644 --- a/tde2e/td/e2e/EncryptedStorage.cpp +++ b/tde2e/td/e2e/EncryptedStorage.cpp @@ -312,7 +312,7 @@ void EncryptedStorage::sync_entry(Key key, std::optional<Value> value, bool rewr auto it = updates_.find(key); if (it != updates_.end()) { auto &update_info = it->second; - if (!reapply_update(update_info, std::move(value))) { + if (!reapply_update(update_info, p.first->second)) { LOG(INFO) << "Update [drop] " << key << " " << update_info.update; updates_.erase(it); } |
