Fix assert in histogramData

This commit is contained in:
Igor Canadi 2015-01-23 18:10:52 -08:00
parent 42189612c3
commit 26b50783d3

View File

@ -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);
}