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:
parent
e1b3836f42
commit
eb03fbc989
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ struct ConsoleApplication
|
||||||
and a return code which will be returned from main().
|
and a return code which will be returned from main().
|
||||||
@see ConsoleApplication::invokeCatchingFailures()
|
@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
|
/** Invokes a function, catching any fail() calls that it might trigger, and handling
|
||||||
them by printing their error message and returning their error code.
|
them by printing their error message and returning their error code.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue