mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Fix fmt::vformat_to when SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined
This commit is contained in:
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…
Reference in New Issue
Block a user