Fix compiled format string version of format_to_n
This commit is contained in:
parent
a9337395a2
commit
e94d723667
@ -602,8 +602,7 @@ format_to_n_result<OutputIt> format_to_n(OutputIt out, size_t n,
|
||||
const CompiledFormat& cf,
|
||||
const Args&... args) {
|
||||
auto it =
|
||||
cf.format_to(internal::truncating_iterator<OutputIt>(out, n), args...)
|
||||
.count();
|
||||
cf.format_to(internal::truncating_iterator<OutputIt>(out, n), args...);
|
||||
return {it.base(), it.count()};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user