summaryrefslogtreecommitdiffstats
path: root/include/core/Defs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/Defs.hpp')
-rw-r--r--include/core/Defs.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/Defs.hpp b/include/core/Defs.hpp
index e90f6ce..ca2d065 100644
--- a/include/core/Defs.hpp
+++ b/include/core/Defs.hpp
@@ -208,7 +208,7 @@ typedef float real_t;
do { \
if (unlikely(cond)) { \
FATAL_PRINT(ERR_MSG_COND(cond)); \
- return; \
+ GENERATE_TRAP; \
} \
} while (0)
#endif