diff options
author | crupest <crupest@outlook.com> | 2022-01-17 20:49:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-17 20:49:37 +0800 |
commit | 87658408858dfad8c1fc85b048d46b9a6345580d (patch) | |
tree | 03484fb8e64b31fe6e1f146771c423914b922e99 /include/cru/common/Base.hpp | |
parent | 0dd9ded17f0b8461d54ccfbc66886395fab0aa98 (diff) | |
download | cru-87658408858dfad8c1fc85b048d46b9a6345580d.tar.gz cru-87658408858dfad8c1fc85b048d46b9a6345580d.tar.bz2 cru-87658408858dfad8c1fc85b048d46b9a6345580d.zip |
...
Diffstat (limited to 'include/cru/common/Base.hpp')
-rw-r--r-- | include/cru/common/Base.hpp | 3 |
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; |