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..
This commit is contained in:
Roman Lebedev 2018-11-26 15:39:36 +03:00 committed by GitHub
parent 56f5cd6a72
commit c9311a44e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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