aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-11-29 01:23:25 +0300
committerGitHub <noreply@github.com>2018-11-29 01:23:25 +0300
commit19f7d5c2bcc98d34f4dadad04cc3c979589fc3ae (patch)
tree64abf7ef46da36e2f8b3b1fbac3596f6f38ff6cc
parentc9f2693ea97e94c8afcefb57d3074c6a6236ca23 (diff)
downloadgoogle-benchmark-19f7d5c2bcc98d34f4dadad04cc3c979589fc3ae.tar.gz
README.md: complexity lambda takes int64_t arg. Fixes #719
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 360a18d..e4d5bf1 100644
--- a/README.md
+++ b/README.md
@@ -255,7 +255,7 @@ that might be used to customize high-order term calculation.
```c++
BENCHMARK(BM_StringCompare)->RangeMultiplier(2)
- ->Range(1<<10, 1<<18)->Complexity([](int n)->double{return n; });
+ ->Range(1<<10, 1<<18)->Complexity([](int64_t n)->double{return n; });
```
### Templated benchmarks