Skip to content

Commit

Permalink
fix test for p3
Browse files Browse the repository at this point in the history
  • Loading branch information
lanlou1554 committed Mar 17, 2024
1 parent c1fe04d commit 93f2f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/container/disk/hash/disk_extendible_hash_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ auto DiskExtendibleHashTable<K, V, KC>::GetValue(const K &key, std::vector<V> *r
-> bool {
std::scoped_lock<std::mutex> lock(mu_);
if (auto it = data_.find(key); it != data_.end()) {
*result = std::vector{it->second};
result->push_back(it->second);
return true;
}
*result = {};
Expand Down

0 comments on commit 93f2f73

Please sign in to comment.