1
0
mirror of https://github.com/google/benchmark.git synced 2025-03-28 21:10:58 +08:00

Reorder inline to avoid warning on MSVC ()

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