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

@@ -1432,7 +1432,7 @@ aiColor3D XFileParser::ReadRGB()
// ------------------------------------------------------------------------------------------------
// Throws an exception with a line number and the given text.
void XFileParser::ThrowException( const std::string& pText)
AI_WONT_RETURN void XFileParser::ThrowException( const std::string& pText)
{
if( mIsBinaryFormat)
throw DeadlyImportError( pText);