Fix warnings

This commit is contained in:
Victor Zverovich 2017-11-18 06:56:29 -08:00
parent 62af25dca8
commit 734e722da4

View File

@ -214,13 +214,13 @@ public:
// of MinGW that define fileno as a macro. // of MinGW that define fileno as a macro.
int (fileno)() const; int (fileno)() const;
void vprint(string_view format_str, const args &args) { void vprint(string_view format_str, args format_args) {
fmt::vprint(file_, format_str, args); fmt::vprint(file_, format_str, format_args);
} }
template <typename... Args> template <typename... Args>
inline void print(string_view format_str, const Args & ... args) { inline void print(string_view format_str, const Args & ... format_args) {
vprint(format_str, make_args(args...)); vprint(format_str, make_args(format_args...));
} }
}; };