Fixes #165: CustomArguments ret type in README
* adds myself to AUTHORS/CONTRIBUTORS
diff --git a/README.md b/README.md
index 83d1b81..8c656ea 100644
--- a/README.md
+++ b/README.md
@@ -104,12 +104,10 @@
and a sparse range on the second.
```c++
-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);
- return b;
+ b->ArgPair(i, j);
}
BENCHMARK(BM_SetInsert)->Apply(CustomArguments);
```