diff --git a/src/util/assert.cpp b/src/util/assert.cpp index b91bf592a..2f294d86d 100644 --- a/src/util/assert.cpp +++ b/src/util/assert.cpp @@ -23,12 +23,12 @@ namespace // Boost.Assert only declares the following two functions and let's us define them here. namespace boost { -[[noreturn]] void +void assertion_failed(char const *expr, char const *function, char const *file, long line) { ::assertion_failed_msg_helper(expr, "", function, file, line); } -[[noreturn]] void assertion_failed_msg( +void assertion_failed_msg( char const *expr, char const *msg, char const *function, char const *file, long line) { ::assertion_failed_msg_helper(expr, msg, function, file, line);