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(); }