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

This commit is contained in:
Anton Danielsson 2015-10-05 14:38:07 +02:00
parent 53b1896c53
commit e605cb0802

View File

@ -623,7 +623,7 @@ void RunBenchmark(const benchmark::internal::Benchmark::Instance& b,
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";