aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-04-02 21:09:06 +0800
committercrupest <crupest@outlook.com>2020-04-02 21:09:06 +0800
commit7fd9ca808c908c67d9bec2183034ad16ea86a912 (patch)
treedd4287e511404aa2da07ea078b4bc2c76d4874fc /include/cru/common
parent381d0831f72dc52831bbfb66d9e7db10a86760e5 (diff)
downloadcru-7fd9ca808c908c67d9bec2183034ad16ea86a912.tar.gz
cru-7fd9ca808c908c67d9bec2183034ad16ea86a912.tar.bz2
cru-7fd9ca808c908c67d9bec2183034ad16ea86a912.zip
...
Diffstat (limited to 'include/cru/common')
-rw-r--r--include/cru/common/base.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/common/base.hpp b/include/cru/common/base.hpp
index daee971f..20dd811d 100644
--- a/include/cru/common/base.hpp
+++ b/include/cru/common/base.hpp
@@ -42,4 +42,6 @@ struct Interface {
[[noreturn]] inline void UnreachableCode() {
throw std::runtime_error("Unreachable code.");
}
+
+using Index = gsl::index;
} // namespace cru