diff options
Diffstat (limited to 'libcxx/benchmarks/algorithms.bench.cpp')
-rw-r--r-- | libcxx/benchmarks/algorithms.bench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/benchmarks/algorithms.bench.cpp b/libcxx/benchmarks/algorithms.bench.cpp index 82ed99223ce..745cc172718 100644 --- a/libcxx/benchmarks/algorithms.bench.cpp +++ b/libcxx/benchmarks/algorithms.bench.cpp @@ -10,7 +10,7 @@ constexpr std::size_t TestNumInputs = 1024; template <class GenInputs> void BM_Sort(benchmark::State& st, GenInputs gen) { using ValueType = typename decltype(gen(0))::value_type; - const auto in = gen(st.range_x()); + const auto in = gen(st.range(0)); std::vector<ValueType> inputs[5]; auto reset_inputs = [&]() { for (auto& C : inputs) { |