From 00a39ad5f8fe2cdca934ad36ce12d011abf18d33 Mon Sep 17 00:00:00 2001 From: Daniela Engert Date: Sat, 29 May 2021 20:42:16 +0200 Subject: [PATCH] Enable `Char` types other than `char` (#2323) --- 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 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();