aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cru/common/Format.hpp18
-rw-r--r--include/cru/common/HandlerRegistry.hpp2
2 files changed, 1 insertions, 19 deletions
diff --git a/include/cru/common/Format.hpp b/include/cru/common/Format.hpp
deleted file mode 100644
index d4da2208..00000000
--- a/include/cru/common/Format.hpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#pragma once
-#include "Base.hpp"
-
-#include "StringUtil.hpp"
-
-#include <array>
-#include <charconv>
-#include <string>
-#include <string_view>
-#include <system_error>
-#include <type_traits>
-
-namespace cru {
-template <typename T, typename = std::enable_if_t<std::is_arithmetic_v<T>>>
-std::u16string ToUtf16String(T number) {
- return ToUtf16(std::to_string(number));
-}
-} // namespace cru
diff --git a/include/cru/common/HandlerRegistry.hpp b/include/cru/common/HandlerRegistry.hpp
index 0af97968..8049e74b 100644
--- a/include/cru/common/HandlerRegistry.hpp
+++ b/include/cru/common/HandlerRegistry.hpp
@@ -77,7 +77,7 @@ class HandlerRegistry final {
}
HandlerRegistryIterator<T> end() const {
- return HandlerRegistryIterator<T>(handler_list_.begin());
+ return HandlerRegistryIterator<T>(handler_list_.end());
}
private: