Skip to content

Commit

Permalink
Fix fmt::vformat_to when SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Oct 31, 2022
1 parent b59b4a2 commit fdb1f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ class SPDLOG_API logger
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;
Expand Down

0 comments on commit fdb1f59

Please sign in to comment.