mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-08 20:18:26 -04:00
Added a missing FMT_STRING in fmt::println() (#4407)
This commit is contained in:
parent
5f2e61fdd5
commit
64db979e38
@ -158,7 +158,8 @@ void print(std::ostream& os, format_string<T...> fmt, T&&... args) {
|
||||
|
||||
FMT_EXPORT template <typename... T>
|
||||
void println(std::ostream& os, format_string<T...> fmt, T&&... args) {
|
||||
fmt::print(os, "{}\n", fmt::format(fmt, std::forward<T>(args)...));
|
||||
fmt::print(os, FMT_STRING("{}\n"),
|
||||
fmt::format(fmt, std::forward<T>(args)...));
|
||||
}
|
||||
|
||||
FMT_END_NAMESPACE
|
||||
|
Loading…
x
Reference in New Issue
Block a user