summaryrefslogtreecommitdiffhomepage
path: root/compat/assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/assert.hpp')
-rw-r--r--compat/assert.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/compat/assert.hpp b/compat/assert.hpp
index 73e1d376..550933fa 100644
--- a/compat/assert.hpp
+++ b/compat/assert.hpp
@@ -92,14 +92,14 @@
{ \
if (a != b) [[unlikely]] \
{ \
- DBG_nospace << Debug::color(Debug::Color::Magenta) \
- << "fatal:" \
- << Debug::resetColor << " " \
- << "Equality assertion failed at " \
- << __FILE__ << ":" << __LINE__; \
- DBG_nospace << #__VA_ARGS__; \
- DBG_nospace << " expected: " << a; \
- DBG_nospace << " actual: " << b; \
+ FATAL_nospace << Debug::color(Debug::Color::Magenta) \
+ << "fatal:" \
+ << Debug::resetColor << " " \
+ << "Equality assertion failed at " \
+ << __FILE__ << ":" << __LINE__; \
+ FATAL_nospace << #__VA_ARGS__; \
+ FATAL_nospace << " expected: " << a; \
+ FATAL_nospace << " actual: " << b; \
fm_EMIT_ABORT(); \
} \
})(__VA_ARGS__)