diff options
-rw-r--r-- | include/cru/common/Format.hpp | 18 | ||||
-rw-r--r-- | include/cru/common/HandlerRegistry.hpp | 2 | ||||
-rw-r--r-- | src/common/CMakeLists.txt | 1 |
3 files changed, 1 insertions, 20 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: diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index e1642da2..e07017bb 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -9,7 +9,6 @@ target_sources(cru_base PUBLIC ${CRU_BASE_INCLUDE_DIR}/Bitmask.hpp ${CRU_BASE_INCLUDE_DIR}/Event.hpp ${CRU_BASE_INCLUDE_DIR}/Exception.hpp - ${CRU_BASE_INCLUDE_DIR}/Format.hpp ${CRU_BASE_INCLUDE_DIR}/Logger.hpp ${CRU_BASE_INCLUDE_DIR}/PreConfig.hpp ${CRU_BASE_INCLUDE_DIR}/Range.hpp |