]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common: fix ambiguous error when using gcc 13 55121/head
authorZhang Song <zhangsong02@qianxin.com>
Wed, 10 Jan 2024 08:18:57 +0000 (16:18 +0800)
committerZhang Song <zhangsong02@qianxin.com>
Fri, 12 Jan 2024 13:39:09 +0000 (21:39 +0800)
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
src/common/scrub_types.h

index 972d0993193f1c8c708923e0cfbde0ce0daeb103..dd206f56f60353366c1ab5db1c5e31642f51d9d2 100644 (file)
@@ -220,7 +220,7 @@ struct fmt::formatter<librados::object_id_t> {
   template <typename FormatContext>
   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);
   }
 };