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 )