]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: remove default ctor for delta_t
authorKefu Chai <tchaikov@gmail.com>
Mon, 28 Feb 2022 14:47:19 +0000 (22:47 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 1 Mar 2022 16:29:28 +0000 (00:29 +0800)
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 <tchaikov@gmail.com>
src/crimson/os/seastore/collection_manager/collection_flat_node.h

index 98ec57fef6b17fbea40aa40340d2dfb5992b898d..7fb6cd6a3d19bb658a15b75e2b19b819bb53b814 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);