mark this with "noreturn"

clang kept yelling for some reason
This commit is contained in:
Alug committed 2025-08-16 16:23:55 +02:00
1 parent 59e812ec85
commit 4178f1a19b
1 file changed
+1 -1
+1 -1
View File
@@ -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,