This commit is contained in:
Victor Zverovich
2024-09-08 11:13:44 -07:00
parent 047bf75c24
commit 02c5d637c5
5 changed files with 27 additions and 30 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ class FMT_API ostream : private detail::buffer<char> {
/// Formats `args` according to specifications in `fmt` and writes the
/// output to the file.
template <typename... T> void print(format_string<T...> fmt, T&&... args) {
vformat_to(appender(*this), fmt, vargs<T...>{{args...}});
vformat_to(appender(*this), fmt.str, vargs<T...>{{args...}});
}
};