From fdb1f5926ecd5b1e02f3deb2f8368ad9a6132238 Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 31 Oct 2022 22:56:29 +0200 Subject: [PATCH] Fix fmt::vformat_to when SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined --- include/spdlog/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(std::forward(args)...)); # else - fmt::vformat_to(fmt::appender(wbuf), fmt, fmt::make_format_args(std::forward(args)...)); + fmt::vformat_to(fmt::appender(wbuf), fmt, mt::make_format_args(std::forward(args)...)); # endif memory_buf_t buf;