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-10-31 23:56:29 +0300
committergabime <gmelman1@gmail.comx>2022-10-31 23:56:29 +0300
commitfdb1f5926ecd5b1e02f3deb2f8368ad9a6132238 (patch)
tree0f92b6b63cb45d1df1251dc65ae3a038a6ba20cf
parentb59b4a2b4563b3ca3cfaaf0cb62273a3d40c8b13 (diff)
Fix 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 8aaf4b35..bba71980 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(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;