Commit e605cb08 authored by Anton Danielsson's avatar Anton Danielsson
Browse files

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

Showing with 1 addition and 1 deletion
+1 -1
......@@ -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";
......
Supports Markdown
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