diff --git a/include/fmt/posix.h b/include/fmt/posix.h index 90aba316..c6ba3cf9 100644 --- a/include/fmt/posix.h +++ b/include/fmt/posix.h @@ -214,13 +214,13 @@ public: // of MinGW that define fileno as a macro. int (fileno)() const; - void vprint(string_view format_str, const args &args) { - fmt::vprint(file_, format_str, args); + void vprint(string_view format_str, args format_args) { + fmt::vprint(file_, format_str, format_args); } template - inline void print(string_view format_str, const Args & ... args) { - vprint(format_str, make_args(args...)); + inline void print(string_view format_str, const Args & ... format_args) { + vprint(format_str, make_args(format_args...)); } };