aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver-test/zenserver-test.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-12-13 12:11:16 +0100
committerStefan Boberg <[email protected]>2024-12-13 12:11:16 +0100
commite4a7e9b30023c1c5195de9e78f02c075ff176460 (patch)
treeaaffd1e1954fba67f34969d2c2ead64d19d9d75f /src/zenserver-test/zenserver-test.cpp
parentadded ComputeOpKey so all instances of mapping key -> Oid is in a single place (diff)
downloadzen-e4a7e9b30023c1c5195de9e78f02c075ff176460.tar.xz
zen-e4a7e9b30023c1c5195de9e78f02c075ff176460.zip
fixed XXH3_128Stream so it initializes the state properly
the old version is still present for now, with a _deprecated suffix
Diffstat (limited to 'src/zenserver-test/zenserver-test.cpp')
-rw-r--r--src/zenserver-test/zenserver-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver-test/zenserver-test.cpp b/src/zenserver-test/zenserver-test.cpp
index 33c4f99cf..ec288f1dc 100644
--- a/src/zenserver-test/zenserver-test.cpp
+++ b/src/zenserver-test/zenserver-test.cpp
@@ -2868,7 +2868,7 @@ TEST_CASE("project.remote")
auto ComputeOpKey = [](const CbObjectView& Op) -> Oid {
using namespace std::literals;
- XXH3_128Stream KeyHasher;
+ XXH3_128Stream_deprecated KeyHasher;
Op["key"sv].WriteToStream([&](const void* Data, size_t Size) { KeyHasher.Append(Data, Size); });
XXH3_128 KeyHash128 = KeyHasher.GetHash();