From fe0da04f1bc825f78254f95b5f13e76c21541418 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 28 Feb 2022 22:47:19 +0800 Subject: [PATCH] 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 --- .../os/seastore/collection_manager/collection_flat_node.h | 2 -- 1 file changed, 2 deletions(-) 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 98ec57fef6b17..7fb6cd6a3d19b 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); -- 2.39.5