Fix typos: rangeY -> range_y()

This commit is contained in:
David Reynolds 2015-04-02 18:34:52 -07:00
parent bf063941d4
commit 30ae37b923
2 changed files with 2 additions and 2 deletions

View File

@ -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());
}
}

View File

@ -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());
}
}