diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 1fafdabd..825f5d06 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -371,7 +371,7 @@ protected: #ifdef SPDLOG_USE_STD_FORMAT fmt_lib::vformat_to(std::back_inserter(buf), fmt, fmt_lib::make_format_args(std::forward(args)...)); #else - fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(std::forward(args)...)); + fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(args...)); #endif details::log_msg log_msg(loc, name_, lvl, string_view_t(buf.data(), buf.size()));