summaryrefslogtreecommitdiffstats
path: root/libcxx/benchmarks/unordered_set_operations.bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/benchmarks/unordered_set_operations.bench.cpp')
-rw-r--r--libcxx/benchmarks/unordered_set_operations.bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/benchmarks/unordered_set_operations.bench.cpp b/libcxx/benchmarks/unordered_set_operations.bench.cpp
index 8c4463865d5..e2afdde56dc 100644
--- a/libcxx/benchmarks/unordered_set_operations.bench.cpp
+++ b/libcxx/benchmarks/unordered_set_operations.bench.cpp
@@ -109,7 +109,7 @@ struct UInt64Hash2 {
template <class HashFn, class GenInputs>
void BM_Hash(benchmark::State& st, HashFn fn, GenInputs gen) {
- auto in = gen(st.range_x());
+ auto in = gen(st.range(0));
const auto end = in.data() + in.size();
std::size_t last_hash = 0;
benchmark::DoNotOptimize(&last_hash);
OpenPOWER on IntegriCloud