mirror of
https://github.com/google/benchmark.git
synced 2025-01-28 04:40:17 +08:00
parent
72a4581caf
commit
f4009ef8e3
@ -433,7 +433,7 @@ class State {
|
||||
if (BENCHMARK_BUILTIN_EXPECT(!started_, false)) {
|
||||
StartKeepRunning();
|
||||
}
|
||||
bool const res = --total_iterations_;
|
||||
bool const res = (--total_iterations_ != 0);
|
||||
if (BENCHMARK_BUILTIN_EXPECT(!res, false)) {
|
||||
FinishKeepRunning();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user