Update README.md

This commit is contained in:
Gabi Melman
2023-07-08 11:52:49 +03:00
committed by GitHub
parent 01b3724c48
commit b73616ce29

View File

@@ -293,7 +293,7 @@ void multi_sink_example2()
template<>
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) const -> decltype(ctx.out())
{
return format_to(ctx.out(), "[my_type i={}]", my.i);
}