Mark some more functions with AI_WONT_RETURN

This commit is contained in:
Turo Lamminen
2015-02-13 14:45:36 +02:00
parent db6d8a4dc5
commit 5a74e07f5f
19 changed files with 27 additions and 22 deletions

View File

@@ -413,7 +413,7 @@ float BVHLoader::GetNextTokenAsFloat()
// ------------------------------------------------------------------------------------------------
// Aborts the file reading with an exception
void BVHLoader::ThrowException( const std::string& pError)
AI_WONT_RETURN void BVHLoader::ThrowException( const std::string& pError)
{
throw DeadlyImportError( boost::str( boost::format( "%s:%d - %s") % mFileName % mLine % pError));
}