From ffd813435a3231c23853cff6a953255b457e1adb Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 26 Jun 2021 20:10:21 +0300 Subject: [PATCH] fix compile error again with wchar formatting --- 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 1b6ab47c..452b1a6b 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -241,7 +241,7 @@ public: // format to wmemory_buffer and convert to utf8 fmt::wmemory_buffer wbuf; - fmt::format_to(std::back_inserter(wbuf), fmt::runtime(fmt), std::forward(args)...); + fmt::format_to(std::back_inserter(wbuf), fmt, std::forward(args)...); memory_buf_t buf; details::os::wstr_to_utf8buf(wstring_view_t(wbuf.data(), wbuf.size()), buf);