From b73616ce29a3faa3b6bc6a5fc595c79993cbb48d Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 8 Jul 2023 11:52:49 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 35c03422..6ce32fb6 100644 --- a/README.md +++ b/README.md @@ -293,7 +293,7 @@ void multi_sink_example2() template<> struct fmt::formatter : fmt::formatter { - 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); }