Skip to content

Commit

Permalink
README.md: BM_Sequential(): the return type is 'void'
Browse files Browse the repository at this point in the history
Used that example as a snippet, and it took a moment to notice
what needed to be changed to make it compile..
  • Loading branch information
LebedevRI committed Nov 26, 2018
1 parent 56f5cd6 commit c9311a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c9311a4

Please sign in to comment.