From aedde7fa2ca20e5ee6f749eaff1fbb00f1875728 Mon Sep 17 00:00:00 2001 From: Zhang Song Date: Wed, 10 Jan 2024 16:18:57 +0800 Subject: [PATCH] common: fix ambiguous error when using gcc 13 Signed-off-by: Zhang Song --- src/common/scrub_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/scrub_types.h b/src/common/scrub_types.h index 972d0993193..dd206f56f60 100644 --- a/src/common/scrub_types.h +++ b/src/common/scrub_types.h @@ -220,7 +220,7 @@ struct fmt::formatter { template auto format(const auto &oid, FormatContext& ctx) const { - return format_to(ctx.out(), "{}/{}/{}", oid.locator, oid.nspace, oid.name); + return fmt::format_to(ctx.out(), "{}/{}/{}", oid.locator, oid.nspace, oid.name); } };