Skip to content

Commit

Permalink
README.md: complexity lambda takes int64_t arg. Fixes #719
Browse files Browse the repository at this point in the history
  • Loading branch information
LebedevRI committed Nov 28, 2018
1 parent c9f2693 commit 19f7d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19f7d5c

Please sign in to comment.