diff --git a/include/fmt/xchar.h b/include/fmt/xchar.h index 6439290df9fac..213d7b75bd1f4 100644 --- a/include/fmt/xchar.h +++ b/include/fmt/xchar.h @@ -188,7 +188,8 @@ template , FMT_ENABLE_IF(detail::is_output_iterator::value&& detail::is_exotic_char::value)> -inline auto format_to(OutputIt out, const S& format_str, T&&... args) -> OutputIt { +inline auto format_to(OutputIt out, const S& format_str, T&&... args) + -> OutputIt { return vformat_to(out, fmt::basic_string_view(format_str), fmt::make_format_args>(args...)); }