Optimize format string parsing

This commit is contained in:
Victor Zverovich committed 2018-07-14 14:27:56 -07:00
1 parent c99a259739
commit e7e9578ed4
2 files changed
+54 -20

No files matched your search

+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;
}