diff --git a/ipdemo/src/assert.hpp b/ipdemo/src/assert.hpp index ea73843..b35d70f 100644 --- a/ipdemo/src/assert.hpp +++ b/ipdemo/src/assert.hpp @@ -7,7 +7,7 @@ #include #include -[[noreturn]] void print_stacktrace() { +void print_stacktrace() { unw_cursor_t cursor; unw_context_t context; unw_word_t offset, pc; @@ -47,7 +47,7 @@ } } -[[noreturn]] void assert_failed( +void assert_failed( bool condition, std::string_view message, std::source_location location = std::source_location::current()