Skip to content

Commit

Permalink
Reorder inline to avoid warning on MSVC
Browse files Browse the repository at this point in the history
Fixes #467
  • Loading branch information
dmah42 committed Nov 2, 2017
1 parent fa341e5 commit 4fc94fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/benchmark/benchmark.h
Expand Up @@ -642,10 +642,10 @@ struct State::StateIterator {
State* const parent_;
};

BENCHMARK_ALWAYS_INLINE inline State::StateIterator State::begin() {
inline BENCHMARK_ALWAYS_INLINE State::StateIterator State::begin() {
return StateIterator(this);
}
BENCHMARK_ALWAYS_INLINE inline State::StateIterator State::end() {
inline BENCHMARK_ALWAYS_INLINE State::StateIterator State::end() {
StartKeepRunning();
return StateIterator();
}
Expand Down

0 comments on commit 4fc94fb

Please sign in to comment.