From c9311a44e1280853632fe2472345dd04514a2f74 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Mon, 26 Nov 2018 15:39:36 +0300 Subject: README.md: BM_Sequential(): the return type is 'void' Used that example as a snippet, and it took a moment to notice what needed to be changed to make it compile.. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3820395..360a18d 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,7 @@ messages of size `sizeof(v)` `range_x` times. It also outputs throughput in the absence of multiprogramming. ```c++ -template int BM_Sequential(benchmark::State& state) { +template void BM_Sequential(benchmark::State& state) { Q q; typename Q::value_type v; for (auto _ : state) { -- cgit v1.2.3