Fix error C2668 on msvc (#3378)

This commit is contained in:
June Liu
2023-04-11 21:27:28 +08:00
committed by GitHub
parent c98e5a08a4
commit 33f7150778
4 changed files with 6 additions and 6 deletions

View File

@@ -193,7 +193,7 @@ void print(std::wostream& os,
FMT_MODULE_EXPORT template <typename... T>
void println(std::ostream& os, format_string<T...> fmt, T&&... args) {
print(os, "{}\n", fmt::format(fmt, std::forward<T>(args)...));
fmt::print(os, "{}\n", fmt::format(fmt, std::forward<T>(args)...));
}
FMT_MODULE_EXPORT