Check dynamic width/precision id at compile time (#1614)

This commit is contained in:
Victor Zverovich
2020-04-25 08:36:24 -07:00
parent e51c449fe6
commit 1e1ac6e964
3 changed files with 36 additions and 12 deletions
+1 -1
View File
@@ -568,7 +568,7 @@ class basic_format_parse_context : private ErrorHandler {
using iterator = typename basic_string_view<Char>::iterator;
explicit FMT_CONSTEXPR basic_format_parse_context(
basic_string_view<Char> format_str, ErrorHandler eh = ErrorHandler())
basic_string_view<Char> format_str, ErrorHandler eh = {})
: ErrorHandler(eh), format_str_(format_str), next_arg_id_(0) {}
/**