mirror of
https://github.com/google/benchmark.git
synced 2025-03-05 06:40:09 +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++) {
|
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";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user