Make sure members are initialized properly

Prefer initialization lists
Assignment operator should not return a const ref
This commit is contained in:
Andy Maloney
2013-06-21 10:56:11 -04:00
parent ca8f923a8b
commit 1da281c1f8
2 changed files with 28 additions and 27 deletions
Regular → Executable
+1
View File
@@ -283,6 +283,7 @@ struct Model
m_pCurrent(NULL),
m_pCurrentMaterial(NULL),
m_pDefaultMaterial(NULL),
m_pGroupFaceIDs(NULL),
m_strActiveGroup(""),
m_pCurrentMesh(NULL)
{