Utilities: Initialize all class members

CID 147010 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)4. uninit_member: Non-static class member Enabled is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
Akash 2015-10-23 20:30:47 +05:30
parent b2ee732321
commit cfd02bff53
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public:
bool Enabled;
protected:
BaseTraceLogSource() {}
BaseTraceLogSource() : m_Descriptor(NULL), Enabled(false) {}
public:
TraceLog_ImplementBaseAPI(BaseTraceLogSource)