From 47c304536efcc06851cba318ac1b239e1e97430c Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Fri, 7 Aug 2015 11:21:47 -0700 Subject: [PATCH] Fix #133. Comment now contains compilable code. --- include/benchmark/benchmark_api.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/benchmark/benchmark_api.h b/include/benchmark/benchmark_api.h index ee97de28..a8e8fd8a 100644 --- a/include/benchmark/benchmark_api.h +++ b/include/benchmark/benchmark_api.h @@ -86,8 +86,7 @@ BENCHMARK(BM_SetInsert)->RangePair(1<<10, 8<<10, 1, 512); // arbitrary set of arguments to run the microbenchmark on. // The following example enumerates a dense range on // one parameter, and a sparse range on the second. -static benchmark::internal::Benchmark* CustomArguments( - benchmark::internal::Benchmark* b) { +static void CustomArguments(benchmark::internal::Benchmark* b) { for (int i = 0; i <= 10; ++i) for (int j = 32; j <= 1024*1024; j *= 8) b = b->ArgPair(i, j);