aboutsummaryrefslogtreecommitdiff
path: root/include/benchmark
diff options
context:
space:
mode:
authorDavid Reynolds <david@alwaysmovefast.com>2015-04-02 18:34:52 -0700
committerDavid Reynolds <david@alwaysmovefast.com>2015-04-02 18:34:52 -0700
commit30ae37b923329a943146a2b147a1a926bf2cd899 (patch)
tree57e8cbe9d4685a445e8c0e2fc280adf985382084 /include/benchmark
parentbf063941d4f44ffa4ec4b5fb9977b280026335f6 (diff)
downloadgoogle-benchmark-30ae37b923329a943146a2b147a1a926bf2cd899.tar.gz
Fix typos: rangeY -> range_y()
Diffstat (limited to 'include/benchmark')
-rw-r--r--include/benchmark/benchmark_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/benchmark/benchmark_api.h b/include/benchmark/benchmark_api.h
index 8e6a63a..a8d254c 100644
--- a/include/benchmark/benchmark_api.h
+++ b/include/benchmark/benchmark_api.h
@@ -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());
}
}