Optimize format string parsing

This commit is contained in:
Victor Zverovich
2018-07-14 13:17:40 -07:00
parent c99a259739
commit e7e9578ed4
2 changed files with 54 additions and 20 deletions
+1 -1
View File
@@ -1773,7 +1773,7 @@ struct test_format_string_handler {
FMT_CONSTEXPR bool parse_string(fmt::string_view s) {
test_format_string_handler h;
fmt::internal::parse_format_string(s, h);
fmt::internal::parse_format_string<true>(s, h);
return !h.error;
}