From 734e722da4d114b10f58a86da00a188302964201 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 18 Nov 2017 06:56:29 -0800 Subject: [PATCH] Fix warnings --- include/fmt/posix.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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...)); } };