Commit e605cb08 by Anton Danielsson

Changed "while(true)" to "for(;;)" to avoid warning in visual studio.

parent 53b1896c
...@@ -623,7 +623,7 @@ void RunBenchmark(const benchmark::internal::Benchmark::Instance& b, ...@@ -623,7 +623,7 @@ void RunBenchmark(const benchmark::internal::Benchmark::Instance& b,
for (int i = 0; i < FLAGS_benchmark_repetitions; i++) { for (int i = 0; i < FLAGS_benchmark_repetitions; i++) {
std::string mem; std::string mem;
while (true) { for (;;) {
// Try benchmark // Try benchmark
VLOG(2) << "Running " << b.name << " for " << iters << "\n"; VLOG(2) << "Running " << b.name << " for " << iters << "\n";
......
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