Skip to content

Commit

Permalink
Qualify calls to make_wformat_args. Fixes fmtlib#2639.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurdej committed Dec 10, 2021
1 parent ac1b5f3 commit 1e769f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fmt/xchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ inline void vprint(wstring_view fmt, wformat_args args) {

template <typename... T>
void print(std::FILE* f, wformat_string<T...> fmt, T&&... args) {
return vprint(f, wstring_view(fmt), make_wformat_args(args...));
return vprint(f, wstring_view(fmt), fmt::make_wformat_args(args...));
}

template <typename... T> void print(wformat_string<T...> fmt, T&&... args) {
return vprint(wstring_view(fmt), make_wformat_args(args...));
return vprint(wstring_view(fmt), fmt::make_wformat_args(args...));
}

/**
Expand Down

0 comments on commit 1e769f0

Please sign in to comment.