Commit 28d0c79a authored by Ronan's avatar Ronan

feat(wrapper): add noreturn tog on abort

parent e61718f6
......@@ -155,7 +155,7 @@ private:
// Runtime checker.
// ---------------------------------------------------------------------------
static inline void abort (const char *message) {
[[noreturn]] static inline void abort (const char *message) {
std::cerr << "[FATAL C-WRAPPER]" << message << std::endl;
std::terminate();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment