summaryrefslogtreecommitdiff
path: root/src/macros.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.hpp')
-rw-r--r--src/macros.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macros.hpp b/src/macros.hpp
index d2cad6b7..9ba0e188 100644
--- a/src/macros.hpp
+++ b/src/macros.hpp
@@ -89,6 +89,7 @@
{ \
Debug::log(CRIT, "\n\nMEMORY CORRUPTED: Unreachable failed! (Reached an unreachable position, memory corruption!!!)"); \
raise(SIGABRT); \
+ std::unreachable(); \
}
#else
#define UNREACHABLE() std::unreachable();