Add constructor/destructor to stats_manager

This ensures m_total is properly initialized.

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
Mark Stemm
2022-04-19 11:39:58 -07:00
committed by poiana
parent b89b3f82ee
commit 120027dc2e
2 changed files with 13 additions and 0 deletions

View File

@@ -27,6 +27,9 @@ limitations under the License.
class stats_manager
{
public:
stats_manager();
virtual ~stats_manager();
/*!
\brief Erases the internal state and statistics data
*/