From: Casey Bodley Date: Tue, 3 Sep 2024 14:39:43 +0000 (-0400) Subject: cls/rgw: remove rgw_cls_bi_entry default ctor X-Git-Tag: testing/wip-pdonnell-testing-20240920.212106-debug~16^2~10 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cce84124574e682ea7c569637b645d7e1cd4297e;p=ceph-ci.git cls/rgw: remove rgw_cls_bi_entry default ctor to allow aggregate initialization Signed-off-by: Casey Bodley --- diff --git a/src/cls/rgw/cls_rgw_types.h b/src/cls/rgw/cls_rgw_types.h index 8c90bee4c50..aaf461a5bc8 100644 --- a/src/cls/rgw/cls_rgw_types.h +++ b/src/cls/rgw/cls_rgw_types.h @@ -479,12 +479,10 @@ enum class BIIndexType : uint8_t { struct rgw_bucket_category_stats; struct rgw_cls_bi_entry { - BIIndexType type; + BIIndexType type = BIIndexType::Invalid; std::string idx; ceph::buffer::list data; - rgw_cls_bi_entry() : type(BIIndexType::Invalid) {} - void encode(ceph::buffer::list& bl) const { ENCODE_START(1, 1, bl); encode(type, bl);