- 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

@@ -480,7 +480,9 @@ namespace Assimp
struct Assimp::BatchData
{
BatchData()
: next_id(0xffff)
: pIOSystem()
, pImporter()
, next_id(0xffff)
{}
// IO system to be used for all imports