Make sure members are initialized properly
Prefer initialization lists Assignment operator should not return a const ref
This commit is contained in:
1
code/ObjFileData.h
Normal file → Executable file
1
code/ObjFileData.h
Normal file → Executable file
@@ -283,6 +283,7 @@ struct Model
|
||||
m_pCurrent(NULL),
|
||||
m_pCurrentMaterial(NULL),
|
||||
m_pDefaultMaterial(NULL),
|
||||
m_pGroupFaceIDs(NULL),
|
||||
m_strActiveGroup(""),
|
||||
m_pCurrentMesh(NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user