diff options
| author | crupest <crupest@outlook.com> | 2019-04-04 23:08:22 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2019-04-04 23:08:22 +0800 |
| commit | 6268f3ca09afef812cf288f323cacff22fbfcffc (patch) | |
| tree | 86e89d3b4212ae069075f799a5278c120e258e73 /include/cru/common/format.hpp | |
| parent | dbda5a8e4f0d59ad95be8fc3ee7b21e9122cc474 (diff) | |
| download | cru-6268f3ca09afef812cf288f323cacff22fbfcffc.tar.gz cru-6268f3ca09afef812cf288f323cacff22fbfcffc.tar.bz2 cru-6268f3ca09afef812cf288f323cacff22fbfcffc.zip | |
Finish refactor!!!
Diffstat (limited to 'include/cru/common/format.hpp')
| -rw-r--r-- | include/cru/common/format.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/common/format.hpp b/include/cru/common/format.hpp index 1fb6863a..f085635a 100644 --- a/include/cru/common/format.hpp +++ b/include/cru/common/format.hpp @@ -83,7 +83,7 @@ inline std::string_view FormatToString(const std::string& string, } inline std::wstring_view FormatToString(const std::wstring_view& string, - details::TypeTag<String>) { + details::TypeTag<std::wstring>) { return string; } @@ -93,7 +93,7 @@ inline std::string_view FormatToString(const std::string_view& string, } inline std::wstring_view FormatToString(const wchar_t* string, - details::TypeTag<String>) { + details::TypeTag<std::wstring>) { return std::wstring_view(string); } |
