mirror of
https://github.com/google/benchmark.git
synced 2025-04-29 14:30:37 +08:00
benchmark.cc: Fix clang-tidy error
This commit is contained in:
parent
eb725a8939
commit
0330926144
@ -184,7 +184,8 @@ State::State(std::string name, IterationCount max_iters,
|
||||
// won't have the flag. Inserting them now also reduces the allocations
|
||||
// during the benchmark.
|
||||
if (perf_counters_measurement_) {
|
||||
for (const std::string& counter_name : perf_counters_measurement_->names()) {
|
||||
for (const std::string& counter_name :
|
||||
perf_counters_measurement_->names()) {
|
||||
counters[counter_name] = Counter(0.0, Counter::kAvgIterations);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user