1
0
mirror of https://github.com/google/benchmark.git synced 2025-04-29 22:40:33 +08:00

README.md: complexity lambda takes int64_t arg. Fixes

This commit is contained in:
Roman Lebedev 2018-11-29 01:23:25 +03:00 committed by GitHub
parent c9f2693ea9
commit 19f7d5c2bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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