From 2718d4671b94875c4051b5da9204c1379ad8a1ad Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 16 Sep 2023 03:06:05 +0300 Subject: [PATCH] Update common.h --- include/spdlog/common.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 81e14456..99fa64a7 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -117,6 +117,8 @@ namespace fmt_lib = std; using string_view_t = std::string_view; using memory_buf_t = std::string; +using wstring_view_t = fmt::basic_string_view; +using wmemory_buf_t = fmt::basic_memory_buffer; template # if __cpp_lib_format >= 202207L @@ -131,17 +133,10 @@ namespace fmt_lib = fmt; using string_view_t = fmt::basic_string_view; using memory_buf_t = fmt::basic_memory_buffer; - template using format_string_t = fmt::format_string; - -# if defined(SPDLOG_WCHAR_FILENAMES) using wstring_view_t = fmt::basic_string_view; using wmemory_buf_t = fmt::basic_memory_buffer; - -template -using wformat_string_t = fmt::wformat_string; -# endif # define SPDLOG_BUF_TO_STRING(x) fmt::to_string(x) #endif