Unverified Commit 90aa8665 by Dominic Hamon Committed by GitHub

Reorder inline to avoid warning on MSVC (#469)

Fixes #467
parent f4009ef8
...@@ -642,10 +642,10 @@ struct State::StateIterator { ...@@ -642,10 +642,10 @@ struct State::StateIterator {
State* const parent_; State* const parent_;
}; };
BENCHMARK_ALWAYS_INLINE inline State::StateIterator State::begin() { inline BENCHMARK_ALWAYS_INLINE State::StateIterator State::begin() {
return StateIterator(this); return StateIterator(this);
} }
BENCHMARK_ALWAYS_INLINE inline State::StateIterator State::end() { inline BENCHMARK_ALWAYS_INLINE State::StateIterator State::end() {
StartKeepRunning(); StartKeepRunning();
return StateIterator(); return StateIterator();
} }
......
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