Maybe this will help.

pull/3375/head
Malcolm Tyrrell 2020-07-23 17:26:32 +01:00
parent a4110a59c5
commit 829ff1adf0
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ aiScene *BaseImporter::ReadFile(Importer *pImp, const std::string &pFile, IOSyst
} catch( const DeadlyImportError& err ) { } catch( const DeadlyImportError& err ) {
// extract error description // extract error description
m_ErrorText = err.what(); m_ErrorText = err.what();
ASSIMP_LOG_ERROR(m_ErrorText); ASSIMP_LOG_ERROR(m_ErrorText.c_str());
return nullptr; return nullptr;
} catch( const std::exception& err ) { } catch( const std::exception& err ) {
// extract error description // extract error description