diff options
author | gabime <gmelman1@gmail.comx> | 2022-11-01 01:07:46 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.comx> | 2022-11-01 01:07:46 +0300 |
commit | 4accce5d7b57c268ea37e566a268e51a485b8581 (patch) | |
tree | eac5f29f286d0efe2fa99160e9f0fcd9c9a23aae | |
parent | 4d7308f26dc76ab8e33159cb3beba5c9b38acb49 (diff) |
Try again fixing fmt::vformat_to when SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined
-rw-r--r-- | include/spdlog/logger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 18c90d06..71544e84 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -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<fmt::wformat_context>(std::forward<Args>(args)...)); + fmt::vformat_to(std::back_inserter(wbuf), fmt, fmt::make_format_args<fmt::wformat_context>(std::forward<Args>(args)...)); # endif memory_buf_t buf; |