Skip to content

Commit 8009486

Browse files
fix(google_benchmark): fix compilation error with -Wall in instrumentation mode
1 parent eaa9267 commit 8009486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google_benchmark/src/benchmark_api_internal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class BenchmarkInstance {
3939
const std::vector<Statistics>& statistics() const { return statistics_; }
4040
int repetitions() const {
4141
#ifdef CODSPEED_INSTRUMENTATION
42+
(void)repetitions_;
4243
return 1;
4344
#else
4445
return repetitions_;

0 commit comments

Comments
 (0)