From 168604d8f8e84c1f991de85f1a723c0df9a5b944 Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 18 Feb 2020 07:04:45 -0500 Subject: [PATCH] [docs] Use `benchmark::IterationCount` rather than `int64_t` in lambda to complexity (#940) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 560464eb..b43d4d20 100644 --- a/README.md +++ b/README.md @@ -622,7 +622,7 @@ that might be used to customize high-order term calculation. ```c++ BENCHMARK(BM_StringCompare)->RangeMultiplier(2) - ->Range(1<<10, 1<<18)->Complexity([](int64_t n)->double{return n; }); + ->Range(1<<10, 1<<18)->Complexity([](benchmark::IterationCount n)->double{return n; }); ```