diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 34dbd8f3..91acfd0d 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -224,9 +224,9 @@ using wmemory_buf_t = std::wstring; template # if __cpp_lib_format >= 202207L -using wformat_string_t = format_string_wrapper, wchar>; +using wformat_string_t = format_string_wrapper, wchar_t>; # else -using wformat_string_t = format_string_wrapper; +using wformat_string_t = format_string_wrapper; # endif # endif # define SPDLOG_BUF_TO_STRING(x) x @@ -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>; +using wformat_string_t = format_string_wrapper, wchar_t>; # endif # define SPDLOG_BUF_TO_STRING(x) fmt::to_string(x) #endif