diff --git a/include/spdlog/details/pattern_formatter.h b/include/spdlog/details/pattern_formatter.h index 89811d1f..17801a34 100644 --- a/include/spdlog/details/pattern_formatter.h +++ b/include/spdlog/details/pattern_formatter.h @@ -574,8 +574,7 @@ public: f->format(msg, cached_tm_, dest); } // write eol - // details::fmt_helper::append_string_view(eol_.c_str(), dest); - details::fmt_helper::append_string_view(eol_.c_str(), dest); + details::fmt_helper::append_string_view(eol_, dest); } private: