aboutsummaryrefslogtreecommitdiff
path: root/src/base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.hpp')
-rw-r--r--src/base.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/base.hpp b/src/base.hpp
index a62a745b..2c511c4b 100644
--- a/src/base.hpp
+++ b/src/base.hpp
@@ -7,9 +7,6 @@
#include <string_view>
namespace cru {
-template <typename T>
-struct type_tag {};
-
// typedefs
using String = std::wstring;
using MultiByteString = std::string;
@@ -38,9 +35,4 @@ struct Interface {
[[noreturn]] inline void UnreachableCode() {
throw std::logic_error("Unreachable code.");
}
-
-inline void Require(const bool condition,
- const MultiByteStringView& error_message) {
- if (!condition) throw std::invalid_argument(error_message.data());
-}
} // namespace cru