From eb03fbc989b4d6b63194d72c157e5d3db4778e27 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Wed, 13 Mar 2024 10:30:14 +0000 Subject: [PATCH] ConsoleApplication: Fix a complier warning --- modules/juce_core/misc/juce_ConsoleApplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/misc/juce_ConsoleApplication.h b/modules/juce_core/misc/juce_ConsoleApplication.h index c81e8cda03..0b994111f0 100644 --- a/modules/juce_core/misc/juce_ConsoleApplication.h +++ b/modules/juce_core/misc/juce_ConsoleApplication.h @@ -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.