add missing constructor to ensure RTTI

This commit is contained in:
Kim Kulling
2018-04-08 21:27:18 +02:00
parent 44c62042f3
commit c41d459e21
2 changed files with 25 additions and 10 deletions

View File

@@ -147,10 +147,7 @@ void AllocateFromAssimpHeap::operator delete[] ( void* data) {
// ------------------------------------------------------------------------------------------------
// Importer constructor.
Importer::Importer()
: pimpl( NULL ) {
// allocate the pimpl first
pimpl = new ImporterPimpl();
: pimpl( new ImporterPimpl ) {
pimpl->mScene = NULL;
pimpl->mErrorString = "";