mirror of https://github.com/google/benchmark.git
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:
parent
56f5cd6a72
commit
c9311a44e1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue