diff options
| -rw-r--r-- | compat/unreachable.hpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/compat/unreachable.hpp b/compat/unreachable.hpp deleted file mode 100644 index bb029b6d..00000000 --- a/compat/unreachable.hpp +++ /dev/null @@ -1,16 +0,0 @@ -#pragma once - -namespace floormat { - -[[noreturn]] inline void unreachable() -{ -#if defined __GNUC__ - __builtin_unreachable(); -#elif defined _MSC_VER - __assume(false); -#else - *(volatile int*)0 = 0; -#endif -} - -} // namespace floormat |
