From: Kefu Chai Date: Mon, 28 Feb 2022 14:47:19 +0000 (+0800) Subject: crimson/os/seastore: remove default ctor for delta_t X-Git-Tag: v18.0.0~1321^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fe0da04f1bc825f78254f95b5f13e76c21541418;p=ceph.git crimson/os/seastore: remove default ctor for delta_t otherwise the aggregate initialization for this type would fail to work on C++20, as the user-declared ctor is defined for this struct. Signed-off-by: Kefu Chai --- diff --git a/src/crimson/os/seastore/collection_manager/collection_flat_node.h b/src/crimson/os/seastore/collection_manager/collection_flat_node.h index 98ec57fef6b..7fb6cd6a3d1 100644 --- a/src/crimson/os/seastore/collection_manager/collection_flat_node.h +++ b/src/crimson/os/seastore/collection_manager/collection_flat_node.h @@ -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);