Fix error C2668 on msvc (#3378)

This commit is contained in:
June Liu authored and GitHub committed 2023-04-11 06:27:28 -07:00
1 parent c98e5a08a4
commit 33f7150778
4 files changed
+6 -6

No files matched your search

+1 -1
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