Commit e94d7236 authored by Victor Zverovich's avatar Victor Zverovich

Fix compiled format string version of format_to_n

parent a9337395
...@@ -602,8 +602,7 @@ format_to_n_result<OutputIt> format_to_n(OutputIt out, size_t n, ...@@ -602,8 +602,7 @@ format_to_n_result<OutputIt> format_to_n(OutputIt out, size_t n,
const CompiledFormat& cf, const CompiledFormat& cf,
const Args&... args) { const Args&... args) {
auto it = auto it =
cf.format_to(internal::truncating_iterator<OutputIt>(out, n), args...) cf.format_to(internal::truncating_iterator<OutputIt>(out, n), args...);
.count();
return {it.base(), it.count()}; return {it.base(), it.count()};
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment