mirror of
https://github.com/google/benchmark.git
synced 2025-01-27 04:10:16 +08:00
Fix typos: rangeY -> range_y()
This commit is contained in:
parent
bf063941d4
commit
30ae37b923
@ -68,7 +68,7 @@ static void BM_SetInsert(benchmark::State& state) {
|
||||
state.PauseTiming();
|
||||
std::set<int> data = ConstructRandomSet(state.range_x());
|
||||
state.ResumeTiming();
|
||||
for (int j = 0; j < state.rangeY; ++j)
|
||||
for (int j = 0; j < state.range_y(); ++j)
|
||||
data.insert(RandomNumber());
|
||||
}
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ static void BM_SetInsert(benchmark::State& state) {
|
||||
state.PauseTiming();
|
||||
set<int> data = ConstructRandomSet(state.range_x());
|
||||
state.ResumeTiming();
|
||||
for (int j = 0; j < state.rangeY; ++j)
|
||||
for (int j = 0; j < state.range_y(); ++j)
|
||||
data.insert(RandomNumber());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user