summaryrefslogtreecommitdiff
path: root/src/macros.hpp
diff options
context:
space:
mode:
authorLee Bousfield <ljbousfield@gmail.com>2025-03-17 09:52:40 -0500
committerGitHub <noreply@github.com>2025-03-17 15:52:40 +0100
commit011d7ccb91081ff99f184564ea38d1b9e543a99c (patch)
tree39db18bd22a0f3936b09a540e05220eed6cfea18 /src/macros.hpp
parentefc51eb7d1ec8377425bb7b623b54831f2c18afc (diff)
internal: Fix compiler warnings (#9646)
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();