From e0302919e69b1691483ee4a109ee564655682c0f Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Mon, 27 Mar 2023 15:32:59 +0200 Subject: [PATCH 1/2] Update common.h --- include/spdlog/common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 57ab029f..29b16df3 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -18,7 +18,6 @@ #include - #ifdef SPDLOG_USE_STD_FORMAT # include # if __cpp_lib_format >= 202207L From d88473c4f34397631284878fbad909c33117ec1c Mon Sep 17 00:00:00 2001 From: "M. Galib Uludag" Date: Mon, 27 Mar 2023 15:52:57 +0200 Subject: [PATCH 2/2] fix wchar_t --- include/spdlog/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 29b16df3..b372af31 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -255,7 +255,7 @@ using wstring_view_t = fmt::basic_string_view; using wmemory_buf_t = fmt::basic_memory_buffer; template -using wformat_string_t = format_string_wrapper, wchar_t>; +using wformat_string_t = format_string_wrapper>; # endif # define SPDLOG_BUF_TO_STRING(x) fmt::to_string(x) #endif