Use attributes where possible

This commit is contained in:
Martin Natano
2023-04-20 11:21:29 +02:00
parent a93fc07896
commit 093675cdc3
23 changed files with 142 additions and 133 deletions
+3 -1
View File
@@ -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) );
}