From 59f555ad8fc7de1a7ba3d4d7eaacbe5ed3888c68 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 15 Sep 2018 08:25:57 -0700 Subject: [PATCH] Workaround more visit lookup issues on gcc --- include/fmt/format.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 06bf30fa..857eb889 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3231,8 +3231,8 @@ struct formatter< specs_.precision_, specs_.precision_ref, ctx); typedef output_range range_type; - return visit(arg_formatter(ctx, &specs_), - internal::make_arg(val)); + return fmt::visit(arg_formatter(ctx, &specs_), + internal::make_arg(val)); } private: @@ -3292,8 +3292,8 @@ class dynamic_formatter { checker.end_precision(); typedef output_range range; - visit(arg_formatter(ctx, &specs_), - internal::make_arg(val)); + fmt::visit(arg_formatter(ctx, &specs_), + internal::make_arg(val)); return ctx.out(); }