Signed-off-by: owent <admin@owent.net>
This commit is contained in:
owent 2021-08-23 12:15:05 +08:00 committed by Victor Zverovich
parent 6b5e6119ee
commit 4b8bda25c0

View File

@ -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...));
}