From 291ba837f20e902ae7496e69d57181c25c24661b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 24 May 2019 07:50:13 -0700 Subject: [PATCH] Remove wrong compile-time checks from printf (#1173) --- include/fmt/printf.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/fmt/printf.h b/include/fmt/printf.h index f75f10af..6c73b1d8 100644 --- a/include/fmt/printf.h +++ b/include/fmt/printf.h @@ -632,7 +632,6 @@ template ::value)> inline std::basic_string sprintf(const S& format, const Args&... args) { - internal::check_format_string(format); typedef internal::buffer buffer; typedef typename basic_printf_context_t::type context; format_arg_store as{args...}; @@ -665,7 +664,6 @@ inline int vfprintf( template ::value)> inline int fprintf(std::FILE* f, const S& format, const Args&... args) { - internal::check_format_string(format); typedef internal::buffer buffer; typedef typename basic_printf_context_t::type context; format_arg_store as{args...};