diff --git a/include/fmt/ostream.h b/include/fmt/ostream.h index 71fd6c88..7bec4efe 100644 --- a/include/fmt/ostream.h +++ b/include/fmt/ostream.h @@ -158,7 +158,8 @@ void print(std::ostream& os, format_string fmt, T&&... args) { FMT_EXPORT template void println(std::ostream& os, format_string fmt, T&&... args) { - fmt::print(os, "{}\n", fmt::format(fmt, std::forward(args)...)); + fmt::print(os, FMT_STRING("{}\n"), + fmt::format(fmt, std::forward(args)...)); } FMT_END_NAMESPACE