diff --git a/include/fmt/format.h b/include/fmt/format.h index 4dedd956..0da9fd09 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -2881,7 +2881,7 @@ inline auto format_to_n(OutputIt out, size_t n, const S& fmt, template , FMT_ENABLE_IF(!std::is_same::value)> inline auto formatted_size(const S& fmt, Args&&... args) -> size_t { - detail::counting_buffer<> buf; + detail::counting_buffer buf; const auto& vargs = fmt::make_args_checked(fmt, args...); detail::vformat_to(buf, to_string_view(fmt), vargs); return buf.count();