diff --git a/include/fmt/core.h b/include/fmt/core.h index bd0d099b..c2e52a6d 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1645,14 +1645,10 @@ template class basic_format_args { /** An alias to ``basic_format_args``. */ // It is a separate type rather than an alias to make symbols readable. struct format_args : basic_format_args { - template - format_args(Args&&... args) - : basic_format_args(static_cast(args)...) {} + using basic_format_args::basic_format_args; }; struct wformat_args : basic_format_args { - template - wformat_args(Args&&... args) - : basic_format_args(static_cast(args)...) {} + using basic_format_args::basic_format_args; }; template struct is_contiguous : std::false_type {};