Commit daae280b authored by Eric Cano's avatar Eric Cano
Browse files

Fixed incrementing value instead of count in ValueCountMap::incCount().

parent 788d15f4
......@@ -77,7 +77,7 @@ void ValueCountMap::incCount(uint64_t value) {
err << "In ValueCountMap::incCount: unexpected count value=" << counter->value() << " count=" << counter->count();
throw cta::exception::Exception(err.str());
} else {
counter->set_value(counter->value()+1);
counter->set_count(counter->count()+1);
}
} else {
// Create the new entry if necessary.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment