mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-26 20:20:04 +00:00
Fix 2462
Signed-off-by: owent <admin@owent.net>
This commit is contained in:
parent
6b5e6119ee
commit
4b8bda25c0
@ -2970,7 +2970,7 @@ auto vformat_to_n(OutputIt out, size_t n, string_view fmt, format_args args)
|
||||
template <typename OutputIt, typename... T,
|
||||
FMT_ENABLE_IF(detail::is_output_iterator<OutputIt, char>::value)>
|
||||
FMT_INLINE auto format_to_n(OutputIt out, size_t n, format_string<T...> fmt,
|
||||
const T&... args) -> format_to_n_result<OutputIt> {
|
||||
T&&... args) -> format_to_n_result<OutputIt> {
|
||||
return vformat_to_n(out, n, fmt, fmt::make_format_args(args...));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user