diff --git a/util/statistics.cc b/util/statistics.cc index 9d828a6fe..ba7670bb4 100644 --- a/util/statistics.cc +++ b/util/statistics.cc @@ -44,8 +44,8 @@ void StatisticsImpl::histogramData(uint32_t histogramType, HistogramData* const data) const { assert( enable_internal_stats_ ? - histogramType < INTERNAL_TICKER_ENUM_MAX : - histogramType < TICKER_ENUM_MAX); + histogramType < INTERNAL_HISTOGRAM_ENUM_MAX : + histogramType < HISTOGRAM_ENUM_MAX); // Return its own ticker version histograms_[histogramType].Data(data); }