From 26b50783d30c54205aba4a2e0693efdec6e0798d Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Fri, 23 Jan 2015 18:10:52 -0800 Subject: [PATCH] Fix assert in histogramData --- util/statistics.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }