summaryrefslogtreecommitdiff
path: root/third-party/benchmark/src/perf_counters.h
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/benchmark/src/perf_counters.h')
-rw-r--r--third-party/benchmark/src/perf_counters.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third-party/benchmark/src/perf_counters.h b/third-party/benchmark/src/perf_counters.h
index b6629b99070b..47ca1385e24d 100644
--- a/third-party/benchmark/src/perf_counters.h
+++ b/third-party/benchmark/src/perf_counters.h
@@ -42,7 +42,7 @@ namespace internal {
class PerfCounterValues {
public:
explicit PerfCounterValues(size_t nr_counters) : nr_counters_(nr_counters) {
- CHECK_LE(nr_counters_, kMaxCounters);
+ BM_CHECK_LE(nr_counters_, kMaxCounters);
}
uint64_t operator[](size_t pos) const { return values_[kPadding + pos]; }