aboutsummaryrefslogtreecommitdiff
path: root/src/common/Base.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-17 20:49:37 +0800
committercrupest <crupest@outlook.com>2022-01-17 20:49:37 +0800
commit87658408858dfad8c1fc85b048d46b9a6345580d (patch)
tree03484fb8e64b31fe6e1f146771c423914b922e99 /src/common/Base.cpp
parent0dd9ded17f0b8461d54ccfbc66886395fab0aa98 (diff)
downloadcru-87658408858dfad8c1fc85b048d46b9a6345580d.tar.gz
cru-87658408858dfad8c1fc85b048d46b9a6345580d.tar.bz2
cru-87658408858dfad8c1fc85b048d46b9a6345580d.zip
...
Diffstat (limited to 'src/common/Base.cpp')
-rw-r--r--src/common/Base.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/Base.cpp b/src/common/Base.cpp
new file mode 100644
index 00000000..dbbc0d61
--- /dev/null
+++ b/src/common/Base.cpp
@@ -0,0 +1,7 @@
+#include "cru/common/Base.hpp"
+
+#include <stdexcept>
+
+namespace cru {
+void UnreachableCode() { std::terminate(); }
+} // namespace cru