diff options
| author | Stefan Boberg <[email protected]> | 2024-12-13 12:11:16 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2024-12-13 12:11:16 +0100 |
| commit | e4a7e9b30023c1c5195de9e78f02c075ff176460 (patch) | |
| tree | aaffd1e1954fba67f34969d2c2ead64d19d9d75f /src/zenserver-test/zenserver-test.cpp | |
| parent | added ComputeOpKey so all instances of mapping key -> Oid is in a single place (diff) | |
| download | zen-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.cpp | 2 |
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(); |