From 6952732b6c174b2e335065ef513d99feefc18074 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 23 Jun 2019 06:33:07 -0700 Subject: [PATCH] Remove misplaced checks --- include/fmt/printf.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/fmt/printf.h b/include/fmt/printf.h index 6acac0e9..c2e9f9bf 100644 --- a/include/fmt/printf.h +++ b/include/fmt/printf.h @@ -679,7 +679,6 @@ inline int vprintf( template ::value)> inline int printf(const S& format_str, const Args&... args) { - internal::check_format_string(format_str); using buffer = internal::buffer>; using context = typename basic_printf_context_t::type; format_arg_store as{args...}; @@ -722,7 +721,6 @@ typename ArgFormatter::iterator vprintf(internal::buffer& out, template > inline int fprintf(std::basic_ostream& os, const S& format_str, const Args&... args) { - internal::check_format_string(format_str); using context = typename basic_printf_context_t>::type; format_arg_store as{args...}; return vfprintf(os, to_string_view(format_str),