mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-28 21:30:00 +01:00
Workaround more visit lookup issues on gcc
This commit is contained in:
@@ -3231,7 +3231,7 @@ 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));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3292,7 +3292,7 @@ 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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user