Add legacy CTOR for PROF_COUNTER

This commit is contained in:
Seth Hillbrand 2021-12-15 12:52:08 -08:00
parent d785a97940
commit 232b39a321
1 changed files with 6 additions and 0 deletions

View File

@ -225,6 +225,12 @@ unsigned GetRunningMicroSecs();
class PROF_COUNTER class PROF_COUNTER
{ {
public: public:
PROF_COUNTER() :
m_name( "Anonymous" ),
m_count( 0 )
{
}
PROF_COUNTER( const std::string& aName ) : PROF_COUNTER( const std::string& aName ) :
m_name( aName ), m_name( aName ),
m_count( 0 ) m_count( 0 )