fix compile error on msvc preview 4 (16.10) involving lookup clash /w STL

This commit is contained in:
Jessy De Lannoit 2021-05-19 22:03:16 +03:00 committed by Victor Zverovich
parent 08d22503bb
commit 71fb113818

View File

@ -2781,7 +2781,7 @@ FMT_API auto vformat(string_view fmt, format_args args) -> std::string;
*/
template <typename... T>
FMT_INLINE auto format(format_string<T...> fmt, T&&... args) -> std::string {
return vformat(fmt, make_format_args(args...));
return vformat(fmt, fmt::make_format_args(args...));
}
/** Formats a string and writes the output to ``out``. */