From bafdf390313056cda1db4c1ea531fab59ef216b8 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Thu, 1 Aug 2024 12:54:40 +0000 Subject: [PATCH] osd/scrub: missing 'const' in scrubber_common.h formatter Signed-off-by: Matan Breizman --- src/osd/scrubber_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/scrubber_common.h b/src/osd/scrubber_common.h index 832811fbad7..a33a9f3d339 100644 --- a/src/osd/scrubber_common.h +++ b/src/osd/scrubber_common.h @@ -312,7 +312,7 @@ struct fmt::formatter { constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); } template - auto format(const requested_scrub_t& rs, FormatContext& ctx) + auto format(const requested_scrub_t& rs, FormatContext& ctx) const { return fmt::format_to(ctx.out(), "(plnd:{}{}{}{}{}{}{}{}{}{})", -- 2.39.5