Use attributes where possible
This commit is contained in:
+3
-1
@@ -9,7 +9,9 @@
|
||||
* The original documentation stated this was a class for some reason. */
|
||||
namespace RageException
|
||||
{
|
||||
void SM_NORETURN Throw( const char *fmt, ... ) PRINTF(1,2);
|
||||
[[noreturn]]
|
||||
void Throw( const char *fmt, ... ) PRINTF(1,2);
|
||||
|
||||
void SetCleanupHandler( void (*pHandler)(const RString &sError) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user