mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Micro optimize eol in formatter
This commit is contained in:
@@ -571,7 +571,7 @@ public:
|
||||
f->format(msg, cached_tm_, dest);
|
||||
}
|
||||
// write eol
|
||||
details::fmt_helper::append_str(eol_, dest);
|
||||
details::fmt_helper::append_c_str(eol_.c_str(), dest);
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user