mark this with "noreturn"

clang kept yelling for some reason
This commit is contained in:
Alug committed 2025-08-16 22:20:27 +02:00
1 parent 9549a204a5
commit a9068ee162
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,