Fixes #165: CustomArguments ret type in README
* adds myself to AUTHORS/CONTRIBUTORS
diff --git a/AUTHORS b/AUTHORS
index efb854a..5a4b355 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -27,3 +27,4 @@
Yusuke Suzuki <utatane.tea@gmail.com>
Dirac Research
Zbigniew Skowron <zbychs@gmail.com>
+Dominik Czarnota <dominik.b.czarnota@gmail.com>
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 077e55e..ed55bcf 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -43,3 +43,4 @@
Yusuke Suzuki <utatane.tea@gmail.com>
Tobias Ulvgård <tobias.ulvgard@dirac.se>
Zbigniew Skowron <zbychs@gmail.com>
+Dominik Czarnota <dominik.b.czarnota@gmail.com>
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);
```