aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/Base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/common/Base.hpp')
-rw-r--r--include/cru/common/Base.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cru/common/Base.hpp b/include/cru/common/Base.hpp
index 85f07132..bab4f733 100644
--- a/include/cru/common/Base.hpp
+++ b/include/cru/common/Base.hpp
@@ -12,7 +12,6 @@
#endif
#include <gsl/gsl>
-#include <stdexcept>
#define CRU_UNUSED(entity) static_cast<void>(entity);
@@ -82,7 +81,7 @@ struct CRU_BASE_API Interface {
virtual ~Interface() = default;
};
-[[noreturn]] inline void UnreachableCode() { std::terminate(); }
+[[noreturn]] void CRU_BASE_API UnreachableCode();
using Index = gsl::index;