diff --git a/include/fmt/core.h b/include/fmt/core.h index 80485d89..b031d878 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1341,12 +1341,12 @@ template class basic_format_args { struct format_args : basic_format_args { template format_args(Args&&... args) - : basic_format_args(std::forward(args)...) {} + : basic_format_args(static_cast(args)...) {} }; struct wformat_args : basic_format_args { template wformat_args(Args&&... args) - : basic_format_args(std::forward(args)...) {} + : basic_format_args(static_cast(args)...) {} }; template struct is_contiguous : std::false_type {};