From 232b39a3214f1537f26bb5e3f09400249f096801 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 15 Dec 2021 12:52:08 -0800 Subject: [PATCH] Add legacy CTOR for PROF_COUNTER --- include/profile.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/profile.h b/include/profile.h index bf6f28c8b4..644ea71e8a 100644 --- a/include/profile.h +++ b/include/profile.h @@ -225,6 +225,12 @@ unsigned GetRunningMicroSecs(); class PROF_COUNTER { public: + PROF_COUNTER() : + m_name( "Anonymous" ), + m_count( 0 ) + { + } + PROF_COUNTER( const std::string& aName ) : m_name( aName ), m_count( 0 )