mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-30 13:10:22 +00:00
Fix perf regression in ostream::print
This commit is contained in:
parent
f7542c5761
commit
d9063baf22
@ -419,7 +419,7 @@ class FMT_API ostream {
|
||||
output to the file.
|
||||
*/
|
||||
template <typename... T> void print(format_string<T...> fmt, T&&... args) {
|
||||
vformat_to(detail::buffer_appender<char>(buffer_), fmt,
|
||||
vformat_to(std::back_inserter(buffer_), fmt,
|
||||
fmt::make_format_args(args...));
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user