diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-11-26 15:39:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-26 15:39:36 +0300 |
commit | c9311a44e1280853632fe2472345dd04514a2f74 (patch) | |
tree | 62815ee9dc98a071685f0e0592e80419474b980b /README.md | |
parent | 56f5cd6a729280ba7639574bd49a2bf4be7f1c4b (diff) | |
download | google-benchmark-c9311a44e1280853632fe2472345dd04514a2f74.tar.gz |
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..
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -264,7 +264,7 @@ messages of size `sizeof(v)` `range_x` times. It also outputs throughput in the absence of multiprogramming. ```c++ -template <class Q> int BM_Sequential(benchmark::State& state) { +template <class Q> void BM_Sequential(benchmark::State& state) { Q q; typename Q::value_type v; for (auto _ : state) { |