]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cls/rgw: remove rgw_cls_bi_entry default ctor
authorCasey Bodley <cbodley@redhat.com>
Tue, 3 Sep 2024 14:39:43 +0000 (10:39 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 5 Sep 2024 17:23:40 +0000 (13:23 -0400)
to allow aggregate initialization

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/cls/rgw/cls_rgw_types.h

index 8c90bee4c50433b62fe6185081b680042923d4c7..aaf461a5bc8ffe72755483a8e4ffe8ffdb606edd 100644 (file)
@@ -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);