Optimize format string parsing

This commit is contained in:
Victor Zverovich
2020-06-06 10:15:19 -07:00
parent 8f7a824e47
commit 50bad7d62d
3 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -1821,7 +1821,7 @@ class mock_arg_formatter
using base = fmt::detail::arg_formatter_base<buffer_iterator, char>;
mock_arg_formatter(fmt::format_context& ctx, fmt::format_parse_context*,
fmt::format_specs* s = nullptr)
fmt::format_specs* s = nullptr, const char* = nullptr)
: base(ctx.out(), s, ctx.locale()) {
EXPECT_CALL(*this, call(42));
}