1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

ConsoleApplication: Fix a complier warning

This commit is contained in:
Tom Poole 2024-03-13 10:30:14 +00:00 committed by Anthony Nicholls
parent e1b3836f42
commit eb03fbc989

View file

@ -314,7 +314,7 @@ struct ConsoleApplication
and a return code which will be returned from main().
@see ConsoleApplication::invokeCatchingFailures()
*/
static void fail (String errorMessage, int returnCode = 1);
[[noreturn]] static void fail (String errorMessage, int returnCode = 1);
/** Invokes a function, catching any fail() calls that it might trigger, and handling
them by printing their error message and returning their error code.