Consistently use fmt:: when invoking format_to. (#3779)
This has been done partially in previous commits: *2ac6c5ca8b*258000064d*ba50c19e82*5ab9d39253A patch that includes the `std::error_code` changes here is upstream in vcpkg, so that will be able to be removed when updating to the next release.
This commit is contained in:
@@ -492,7 +492,8 @@ auto format_to_n(OutputIt out, size_t n, const S& format_str, Args&&... args)
|
||||
-> format_to_n_result<OutputIt> {
|
||||
using traits = detail::fixed_buffer_traits;
|
||||
auto buf = detail::iterator_buffer<OutputIt, char, traits>(out, n);
|
||||
format_to(std::back_inserter(buf), format_str, std::forward<Args>(args)...);
|
||||
fmt::format_to(std::back_inserter(buf), format_str,
|
||||
std::forward<Args>(args)...);
|
||||
return {buf.out(), buf.count()};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user