BaseDictionaryCompressor::DictionaryStats::DictionaryStats(
BaseStats& base_group, BaseDictionaryCompressor& _compressor)
: Stats::Group(&base_group), compressor(_compressor),
- patterns(this, "pattern",
- "Number of data entries that were compressed to this pattern")
+ ADD_STAT(patterns, UNIT_COUNT,
+ "Number of data entries that were compressed to this pattern")
{
}