Skip to content

Commit 1fdfd0c

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fmt/ostream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ 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"), fmt::format(fmt, std::forward<T>(args)...));
162162
}
163163

164164
FMT_END_NAMESPACE

0 commit comments

Comments
 (0)