fixed wchar_t

pull/2690/head
M. Galib Uludag 2 years ago committed by GitHub
parent 7eda0af8fd
commit 6b45e9fb1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -224,9 +224,9 @@ using wmemory_buf_t = std::wstring;
template<typename... Args>
# if __cpp_lib_format >= 202207L
using wformat_string_t = format_string_wrapper<std::wformat_string<Args...>, wchar>;
using wformat_string_t = format_string_wrapper<std::wformat_string<Args...>, wchar_t>;
# else
using wformat_string_t = format_string_wrapper<std::wstring_view, wchar>;
using wformat_string_t = format_string_wrapper<std::wstring_view, wchar_t>;
# endif
# endif
# define SPDLOG_BUF_TO_STRING(x) x
@ -255,7 +255,7 @@ using wstring_view_t = fmt::basic_string_view<wchar_t>;
using wmemory_buf_t = fmt::basic_memory_buffer<wchar_t, 250>;
template<typename... Args>
using wformat_string_t = format_string_wrapper<fmt::wformat_string<Args...>, wchar>;
using wformat_string_t = format_string_wrapper<fmt::wformat_string<Args...>, wchar_t>;
# endif
# define SPDLOG_BUF_TO_STRING(x) fmt::to_string(x)
#endif

Loading…
Cancel
Save