From a504d3f6fc6eeab7eea3067c3c7e78a75cdf63f1 Mon Sep 17 00:00:00 2001 From: Barry Revzin Date: Fri, 14 Aug 2020 16:03:49 -0500 Subject: [PATCH] Removing string_view dependency. --- test/format-test.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/format-test.cc b/test/format-test.cc index 7144064a..274c3b9f 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -2481,7 +2481,12 @@ struct lazy_optional { }; FMT_BEGIN_NAMESPACE -template <> struct formatter : formatter { +template <> struct formatter { + template + auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { + return ctx.begin(); + } + template auto format(const lazy_optional& opt, Context& ctx) { if (opt.engaged) {