Mark some more functions with AI_WONT_RETURN

This commit is contained in:
Turo Lamminen
2015-02-27 23:09:12 +02:00
parent db6d8a4dc5
commit 5a74e07f5f
19 changed files with 27 additions and 22 deletions
+2 -2
View File
@@ -127,12 +127,12 @@ void B3DImporter::InternReadFile( const std::string& pFile, aiScene* pScene, IOS
}
// ------------------------------------------------------------------------------------------------
void B3DImporter::Oops(){
AI_WONT_RETURN void B3DImporter::Oops(){
throw DeadlyImportError( "B3D Importer - INTERNAL ERROR" );
}
// ------------------------------------------------------------------------------------------------
void B3DImporter::Fail( string str ){
AI_WONT_RETURN void B3DImporter::Fail( string str ){
#ifdef DEBUG_B3D
cout<<"Error in B3D file data: "<<str<<endl;
#endif