diff --git a/example/example.cpp b/example/example.cpp index 71119758..f38416ad 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -261,11 +261,11 @@ struct my_type }; template<> -struct std::formatter : std::formatter +struct spdlog::fmt_lib::formatter : spdlog::fmt_lib::formatter { auto format(my_type my, format_context &ctx) { - return formatter::format(std::format("[my_type i={}]", my.i), ctx); + return formatter::format(spdlog::fmt_lib::format("[my_type i={}]", my.i), ctx); } };