Commit 30ae37b9 by David Reynolds

Fix typos: rangeY -> range_y()

parent bf063941
...@@ -68,7 +68,7 @@ static void BM_SetInsert(benchmark::State& state) { ...@@ -68,7 +68,7 @@ static void BM_SetInsert(benchmark::State& state) {
state.PauseTiming(); state.PauseTiming();
std::set<int> data = ConstructRandomSet(state.range_x()); std::set<int> data = ConstructRandomSet(state.range_x());
state.ResumeTiming(); state.ResumeTiming();
for (int j = 0; j < state.rangeY; ++j) for (int j = 0; j < state.range_y(); ++j)
data.insert(RandomNumber()); data.insert(RandomNumber());
} }
} }
......
...@@ -61,7 +61,7 @@ static void BM_SetInsert(benchmark::State& state) { ...@@ -61,7 +61,7 @@ static void BM_SetInsert(benchmark::State& state) {
state.PauseTiming(); state.PauseTiming();
set<int> data = ConstructRandomSet(state.range_x()); set<int> data = ConstructRandomSet(state.range_x());
state.ResumeTiming(); state.ResumeTiming();
for (int j = 0; j < state.rangeY; ++j) for (int j = 0; j < state.range_y(); ++j)
data.insert(RandomNumber()); data.insert(RandomNumber());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment