# fix throw statement in Q3BSPFileImporter.cpp -- we don't new() DeadlyImportError.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@876 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2010-12-06 21:34:31 +00:00
parent e2e5463845
commit 62f6b57637
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ void Q3BSPFileImporter::InternReadFile(const std::string &rFile, aiScene* pScene
Q3BSPZipArchive Archive( rFile );
if ( !Archive.isOpen() )
{
throw new DeadlyImportError( "Failed to open file " + rFile + "." );
throw DeadlyImportError( "Failed to open file " + rFile + "." );
}
std::string archiveName( "" ), mapName( "" );