Unverified Commit c9311a44 by Roman Lebedev Committed by GitHub

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..
parent 56f5cd6a
...@@ -264,7 +264,7 @@ messages of size `sizeof(v)` `range_x` times. It also outputs throughput in the ...@@ -264,7 +264,7 @@ messages of size `sizeof(v)` `range_x` times. It also outputs throughput in the
absence of multiprogramming. absence of multiprogramming.
```c++ ```c++
template <class Q> int BM_Sequential(benchmark::State& state) { template <class Q> void BM_Sequential(benchmark::State& state) {
Q q; Q q;
typename Q::value_type v; typename Q::value_type v;
for (auto _ : state) { for (auto _ : state) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment