Skip to content

Commit d782974

Browse files
committed
fix: instrumentation build
1 parent 41b9925 commit d782974

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

google_benchmark/include/benchmark/benchmark.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,9 +1091,9 @@ inline BENCHMARK_ALWAYS_INLINE State::StateIterator State::end() {
10911091
StartKeepRunning();
10921092

10931093
#ifdef CODSPEED_INSTRUMENTATION
1094-
if (parent_->codspeed_ != NULL) {
1095-
parent_->codspeed_->start_benchmark();
1096-
}
1094+
if (this->codspeed_ != NULL) {
1095+
this->codspeed_->start_benchmark(name_);
1096+
}
10971097
#endif
10981098
#if defined(CODSPEED_INSTRUMENTATION) || defined(CODSPEED_WALLTIME)
10991099
measurement_start();

0 commit comments

Comments
 (0)