From 3a3d0bdaaf932f6ca17f2de3447c989127bc143a Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 27 May 2019 00:54:58 +0800 Subject: ... --- include/cru/common/format.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/cru/common') diff --git a/include/cru/common/format.hpp b/include/cru/common/format.hpp index f085635a..ecc4b30b 100644 --- a/include/cru/common/format.hpp +++ b/include/cru/common/format.hpp @@ -99,6 +99,6 @@ inline std::wstring_view FormatToString(const wchar_t* string, inline std::string_view FormatToString(const char* string, details::TypeTag) { - return std::string(string); + return std::string_view(string); } } // namespace cru::util -- cgit v1.2.3