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