mirror of
https://github.com/google/benchmark.git
synced 2025-03-04 22:30:13 +08:00
Changed "while(true)" to "for(;;)" to avoid warning in visual studio.
This commit is contained in:
parent
53b1896c53
commit
e605cb0802
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user