commit | e605cb0802f97cab812939752b327cb72a8ab357 | [log] [tgz] |
---|---|---|
author | Anton Danielsson <anton.danielsson@dirac.se> | Mon Oct 05 14:38:07 2015 +0200 |
committer | Anton Danielsson <anton.danielsson@dirac.se> | Thu Oct 08 10:48:32 2015 +0200 |
tree | 3c54f38edaddf53cbdf916d042cf29a7ff798e55 | |
parent | 53b1896c534ff6c643f4bfe4a2349bf80dfa5630 [diff] |
Changed "while(true)" to "for(;;)" to avoid warning in visual studio.
diff --git a/src/benchmark.cc b/src/benchmark.cc index c4db329..4e87445 100644 --- a/src/benchmark.cc +++ b/src/benchmark.cc
@@ -623,7 +623,7 @@ for (int i = 0; i < FLAGS_benchmark_repetitions; i++) { std::string mem; - while (true) { + for (;;) { // Try benchmark VLOG(2) << "Running " << b.name << " for " << iters << "\n";