diff options
Diffstat (limited to 'libcxx/benchmarks')
-rw-r--r-- | libcxx/benchmarks/ordered_set.bench.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/benchmarks/ordered_set.bench.cpp b/libcxx/benchmarks/ordered_set.bench.cpp index 104948739b9..b2ef0725b7b 100644 --- a/libcxx/benchmarks/ordered_set.bench.cpp +++ b/libcxx/benchmarks/ordered_set.bench.cpp @@ -83,12 +83,12 @@ struct Create : Base { using Base::Base; void run(benchmark::State& State) const { - std::vector<size_t> Keys(TableSize); - std::iota(Keys.begin(), Keys.end(), size_t{0}); + std::vector<uint64_t> Keys(TableSize); + std::iota(Keys.begin(), Keys.end(), uint64_t{0}); sortKeysBy(Keys, Access()); while (State.KeepRunningBatch(TableSize * NumTables)) { - std::vector<std::set<size_t>> Sets(NumTables); + std::vector<std::set<uint64_t>> Sets(NumTables); for (auto K : Keys) { for (auto& Set : Sets) { benchmark::DoNotOptimize(Set.insert(K)); |