diff --git a/format.h b/format.h index 1ff3d4a1..c3ed6e6e 100644 --- a/format.h +++ b/format.h @@ -1494,14 +1494,13 @@ inline uint64_t make_type(FMT_GEN15(FMT_ARG_TYPE_DEFAULT)) { // Defines a variadic function returning void. # define FMT_VARIADIC_VOID(func, arg_type) \ template \ - void func(arg_type arg1, const Args & ... args) { \ + void func(arg_type arg0, const Args & ... args) { \ namespace internal = fmt::internal; \ typedef typename internal::SelectValueType::Type Value; \ - const Value array[ \ - internal::NonZero::VALUE] = { \ + const Value array[internal::NonZero::VALUE] = { \ internal::MakeValue(args)... \ }; \ - func(arg1, ArgList(internal::make_type(args...), array)); \ + func(arg0, ArgList(internal::make_type(args...), array)); \ } // Defines a variadic constructor.