diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2025-07-10 18:07:20 +0200 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2025-07-10 18:07:20 +0200 |
| commit | d4fbbdd85e2133361c72035a131940705a768d30 (patch) | |
| tree | c1450e431b2ad0d66c781445ef82521afa5e7814 /test/string/trie.cpp | |
| parent | 630a5bdf06d59b8340fb4bfc0e692cbcf094026a (diff) | |
try to fix tests
Diffstat (limited to 'test/string/trie.cpp')
| -rw-r--r-- | test/string/trie.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/string/trie.cpp b/test/string/trie.cpp index 1ea5b1a..ea4a774 100644 --- a/test/string/trie.cpp +++ b/test/string/trie.cpp @@ -30,7 +30,8 @@ void stress_test() { constexpr int N = 10'000; void performance_test() { timer t; - trie = {node()}; + trie.clear(); + trie.emplace_back(); hash_t hash = 0; for (int tries = 0; tries < N; tries++) { { |
