Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.comx>2022-11-01 01:07:46 +0300
committergabime <gmelman1@gmail.comx>2022-11-01 01:07:46 +0300
commit4accce5d7b57c268ea37e566a268e51a485b8581 (patch)
treeeac5f29f286d0efe2fa99160e9f0fcd9c9a23aae
parent4d7308f26dc76ab8e33159cb3beba5c9b38acb49 (diff)
Try again fixing fmt::vformat_to when SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined
-rw-r--r--include/spdlog/logger.h2
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;