fix small issue when compiling with C++20 without std::format

pull/2688/head
Bailey Chittle 2 years ago
parent 42d1f40a18
commit f664457371

@ -279,7 +279,7 @@ struct fmt::formatter<my_type> : fmt::formatter<std::string>
{ {
auto format(my_type my, format_context &ctx) -> decltype(ctx.out()) 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);
} }
}; };

Loading…
Cancel
Save