From 87f2d114cd0d1e397a7c61861e1e53f06f1b3b28 Mon Sep 17 00:00:00 2001 From: Arniiiii Date: Thu, 15 Aug 2024 03:11:28 +0000 Subject: [PATCH] fix test https://github.com/fmtlib/fmt/issues/4120 --- test/src/enc_dec_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/enc_dec_test.cc b/test/src/enc_dec_test.cc index da504df..79ed2ac 100644 --- a/test/src/enc_dec_test.cc +++ b/test/src/enc_dec_test.cc @@ -43,7 +43,7 @@ struct fmt::formatter : formatter { // parse is inherited from formatter. template - auto format(const MovableType& val, FormatContext& ctx) { + auto format(const MovableType& val, FormatContext& ctx) const { return formatter::format(val.val[0].v, ctx); } };