Pārlūkot izejas kodu

# 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
aramis_acg 14 gadi atpakaļ
vecāks
revīzija
62f6b57637
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      code/Q3BSPFileImporter.cpp

+ 1 - 1
code/Q3BSPFileImporter.cpp

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