Unverified Commit 19f7d5c2 by Roman Lebedev Committed by GitHub

README.md: complexity lambda takes int64_t arg. Fixes #719

parent c9f2693e
...@@ -255,7 +255,7 @@ that might be used to customize high-order term calculation. ...@@ -255,7 +255,7 @@ that might be used to customize high-order term calculation.
```c++ ```c++
BENCHMARK(BM_StringCompare)->RangeMultiplier(2) 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 ### Templated benchmarks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment