diff --git a/example/example.cpp b/example/example.cpp index 316a22b1..636a1be3 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -279,7 +279,7 @@ struct fmt::formatter : fmt::formatter { auto format(my_type my, format_context &ctx) -> decltype(ctx.out()) { - return format_to(ctx.out(), "[my_type i={}]", my.i); + return fmt::format_to(ctx.out(), "[my_type i={}]", my.i); } };