From 4178f1a19bd04e9012e3f023de0a9b4e735f65d6 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 16 Aug 2025 16:23:55 +0200 Subject: [PATCH] mark this with "noreturn" clang kept yelling for some reason --- src/cxxutil.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cxxutil.hpp b/src/cxxutil.hpp index 545d38dfd..591d7aa4d 100644 --- a/src/cxxutil.hpp +++ b/src/cxxutil.hpp @@ -61,7 +61,7 @@ struct SourceLocation { class IErrorAssertHandler { public: - static void handle(const SourceLocation& source_location, const char* expression) { + [[ noreturn ]] static void handle(const SourceLocation& source_location, const char* expression) { I_Error("Assertion failed at %s:%u: %s != true", source_location.file_name, source_location.line_number,