mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Workaround more visit lookup issues on gcc
This commit is contained in:
parent
a7e356cc80
commit
59f555ad8f
@ -3231,8 +3231,8 @@ struct formatter<
|
|||||||
specs_.precision_, specs_.precision_ref, ctx);
|
specs_.precision_, specs_.precision_ref, ctx);
|
||||||
typedef output_range<typename FormatContext::iterator,
|
typedef output_range<typename FormatContext::iterator,
|
||||||
typename FormatContext::char_type> range_type;
|
typename FormatContext::char_type> range_type;
|
||||||
return visit(arg_formatter<range_type>(ctx, &specs_),
|
return fmt::visit(arg_formatter<range_type>(ctx, &specs_),
|
||||||
internal::make_arg<FormatContext>(val));
|
internal::make_arg<FormatContext>(val));
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -3292,8 +3292,8 @@ class dynamic_formatter {
|
|||||||
checker.end_precision();
|
checker.end_precision();
|
||||||
typedef output_range<typename FormatContext::iterator,
|
typedef output_range<typename FormatContext::iterator,
|
||||||
typename FormatContext::char_type> range;
|
typename FormatContext::char_type> range;
|
||||||
visit(arg_formatter<range>(ctx, &specs_),
|
fmt::visit(arg_formatter<range>(ctx, &specs_),
|
||||||
internal::make_arg<FormatContext>(val));
|
internal::make_arg<FormatContext>(val));
|
||||||
return ctx.out();
|
return ctx.out();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user