- add missing initialization of several class members

- prefer check for empty() over check for size() in OptimizeGraph (empty() is guaranteed to be constant time, size() is not)
- fix a couple of incorrect indentations
This commit is contained in:
Andy Maloney
2015-05-16 15:13:22 -04:00
parent 93579ca734
commit c014bb977c
7 changed files with 42 additions and 17 deletions

View File

@@ -60,9 +60,11 @@ static const unsigned int DeadBeef = 0xdeadbeef;
// ------------------------------------------------------------------------------------------------
// Constructor to be privately used by Importer
OptimizeMeshesProcess::OptimizeMeshesProcess()
: pts (false)
, max_verts( NotSet )
, max_faces( NotSet ) {
: mScene()
, mesh()
, pts(false)
, max_verts( NotSet )
, max_faces( NotSet ) {
// empty
}