From 7c461dcac1477bbfa266e7f27ae6d45e54175178 Mon Sep 17 00:00:00 2001 From: Mark Curtis Date: Fri, 30 Aug 2019 13:05:19 +1000 Subject: [PATCH] Decay argument types in call to do_check_format_string --- 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 08cf38dd..c571005d 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3466,7 +3466,7 @@ template class udl_formatter { std::basic_string operator()(Args&&... args) const { FMT_CONSTEXPR_DECL Char s[] = {CHARS..., '\0'}; FMT_CONSTEXPR_DECL bool invalid_format = - do_check_format_string( + do_check_format_string::type...>( basic_string_view(s, sizeof...(CHARS))); (void)invalid_format; return format(s, std::forward(args)...);