diff --git a/test/format-test.cc b/test/format-test.cc index 47916f64de88..9788c246d34b 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -1788,7 +1788,7 @@ FMT_BEGIN_NAMESPACE template <> struct formatter : nested_formatter { auto format(point p, format_context& ctx) const -> decltype(ctx.out()) { return write_padded(ctx, [this, p](auto out) -> decltype(out) { - return format_to(out, "({}, {})", nested(p.x), nested(p.y)); + return fmt::format_to(out, "({}, {})", nested(p.x), nested(p.y)); }); } };