From 460c0ab82145369edc0734faed4a69527fc9963e Mon Sep 17 00:00:00 2001 From: Daniela Engert Date: Sat, 29 May 2021 19:54:11 +0200 Subject: [PATCH] Enable `Char` types other than `char` --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index c7ed6cc3316a..74a19e2df2fd 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();