Reorder inline to avoid warning on MSVC (#469)

Fixes #467
This commit is contained in:
Dominic Hamon 2017-11-07 10:33:07 -08:00 committed by GitHub
parent f4009ef8e3
commit 90aa8665b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}