]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crimson/os/seastore/collection_manager/collection_flat_node.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crimson / os / seastore / collection_manager / collection_flat_node.h
index 98ec57fef6b17fbea40aa40340d2dfb5992b898d..1652eb92f227ba3f7e3d0cd344df488638cc8eea 100644 (file)
@@ -41,8 +41,6 @@ struct delta_t {
   denc_coll_t coll;
   uint32_t bits = 0;
 
-  delta_t() = default;
-
   DENC(delta_t, v, p) {
     DENC_START(1, 1, p);
     denc(v.op, p);
@@ -107,7 +105,7 @@ struct CollectionNode
   coll_map_t decoded;
   delta_buffer_t delta_buffer;
 
-  CachedExtentRef duplicate_for_write() final {
+  CachedExtentRef duplicate_for_write(Transaction&) final {
     assert(delta_buffer.empty());
     return CachedExtentRef(new CollectionNode(*this));
   }
@@ -182,3 +180,7 @@ struct CollectionNode
 };
 using CollectionNodeRef = CollectionNode::CollectionNodeRef;
 }
+
+#if FMT_VERSION >= 90000
+template <> struct fmt::formatter<crimson::os::seastore::collection_manager::CollectionNode> : fmt::ostream_formatter {};
+#endif