From a0524aa305721bdc777329eb9fd5bd52e87cde9f Mon Sep 17 00:00:00 2001 From: Muhammed Galib Uludag Date: Mon, 27 Mar 2023 16:15:51 +0200 Subject: [PATCH] fixed wchar_t fmt str --- 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 8e36b22c..67ea7d4f 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -182,7 +182,7 @@ public: template void log(source_loc loc, level::level_enum lvl, wformat_string_t fmt, Args &&... args) { - log_(loc, lvl, details::to_string_view(fmt), std::forward(args)...); + log_(loc, lvl, details::to_string_view(fmt.fmt()), std::forward(args)...); } template