aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdutils/test/hashset_benchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdutils/test/hashset_benchmark.cpp')
-rw-r--r--tdutils/test/hashset_benchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdutils/test/hashset_benchmark.cpp b/tdutils/test/hashset_benchmark.cpp
index a5039a8d0..ed53468bd 100644
--- a/tdutils/test/hashset_benchmark.cpp
+++ b/tdutils/test/hashset_benchmark.cpp
@@ -205,7 +205,7 @@ static void BM_Get(benchmark::State &state) {
}
std::size_t key_i = 0;
- td::rand_shuffle(td::as_mutable_span(keys), rnd);
+ td::Random::shuffle(td::as_mutable_span(keys), rnd);
auto next_key = [&] {
key_i++;
if (key_i == data.size()) {