From d6cd1c46889e94b325244e5ba5ccea97cc856952 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 15 Sep 2021 16:06:43 +0800 Subject: ... --- include/cru/common/Format.hpp | 18 ------------------ include/cru/common/HandlerRegistry.hpp | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 include/cru/common/Format.hpp (limited to 'include/cru/common') 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 -#include -#include -#include -#include -#include - -namespace cru { -template >> -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 end() const { - return HandlerRegistryIterator(handler_list_.begin()); + return HandlerRegistryIterator(handler_list_.end()); } private: -- cgit v1.2.3