summaryrefslogtreecommitdiffstats
path: root/include/core/Defs.hpp
diff options
context:
space:
mode:
authorMai Lavelle <mai.lavelle@gmail.com>2021-08-01 17:17:36 -0400
committerMai Lavelle <mai.lavelle@gmail.com>2021-08-01 17:20:39 -0400
commit2f534ddd88ff71e18dc70afeecae356fd4505b7e (patch)
tree58e9bf0d6c548657440312d6e58cb42e5892b412 /include/core/Defs.hpp
parente08ecdc28c5409cb5366027227e996c342dcee93 (diff)
downloadredot-cpp-2f534ddd88ff71e18dc70afeecae356fd4505b7e.tar.gz
Fix typo in CRASH_COND leading to unexpected continuation after fail
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