Suppress printout of unused MsgCounter instances
Adds an implementation of toBePrinted
for MsgCounter
that means they are only printed if incremented at least once.
bool toBePrinted() const override { return this->value() > 0; }
@graven FYI
Adds an implementation of toBePrinted
for MsgCounter
that means they are only printed if incremented at least once.
bool toBePrinted() const override { return this->value() > 0; }
@graven FYI