Fix fmt::vformat_to when SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined

pull/2539/head
gabime 3 years ago
parent b59b4a2b45
commit fdb1f5926e

@ -398,7 +398,7 @@ protected:
fmt_lib::vformat_to(
std::back_inserter(wbuf), fmt, fmt_lib::make_format_args<fmt_lib::wformat_context>(std::forward<Args>(args)...));
# else
fmt::vformat_to(fmt::appender(wbuf), fmt, fmt::make_format_args(std::forward<Args>(args)...));
fmt::vformat_to(fmt::appender(wbuf), fmt, mt::make_format_args<fmt::wformat_context>(std::forward<Args>(args)...));
# endif
memory_buf_t buf;

Loading…
Cancel
Save