avoid copying of private struct.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
pull/502/head
Kim Kulling 2015-03-19 11:38:15 +01:00
parent 12efa14777
commit 70aafa478d
2 changed files with 10 additions and 0 deletions

View File

@ -170,6 +170,11 @@ OpenGEXImporter::RefInfo::RefInfo( aiNode *node, Type type, std::vector<std::str
// empty
}
//------------------------------------------------------------------------------------------------
OpenGEXImporter::RefInfo::~RefInfo() {
// empty
}
//------------------------------------------------------------------------------------------------
OpenGEXImporter::OpenGEXImporter()
: m_meshCache()

View File

@ -126,6 +126,11 @@ private:
std::vector<std::string> m_Names;
RefInfo( aiNode *node, Type type, std::vector<std::string> &names );
~RefInfo();
private:
RefInfo( const RefInfo & );
RefInfo &operator = ( const RefInfo & );
};
std::vector<aiMesh*> m_meshCache;