Skip to content

Commit 9e4b058

Browse files
committed
Added a missing FMT_STRING in fmt::println().
1 parent 5f6fb96 commit 9e4b058

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/fmt/ostream.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ void print(std::ostream& os, format_string<T...> fmt, T&&... args) {
158158

159159
FMT_EXPORT template <typename... T>
160160
void println(std::ostream& os, format_string<T...> fmt, T&&... args) {
161-
fmt::print(os, "{}\n", fmt::format(fmt, std::forward<T>(args)...));
161+
fmt::print(os, FMT_STRING("{}\n"),
162+
fmt::format(fmt, std::forward<T>(args)...));
162163
}
163164

164165
FMT_END_NAMESPACE

0 commit comments

Comments
 (0)