Skip to content

Commit cce8412

Browse files
committed
cls/rgw: remove rgw_cls_bi_entry default ctor
to allow aggregate initialization Signed-off-by: Casey Bodley <[email protected]>
1 parent 4ee8e59 commit cce8412

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/cls/rgw/cls_rgw_types.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,12 +479,10 @@ enum class BIIndexType : uint8_t {
479479
struct rgw_bucket_category_stats;
480480

481481
struct rgw_cls_bi_entry {
482-
BIIndexType type;
482+
BIIndexType type = BIIndexType::Invalid;
483483
std::string idx;
484484
ceph::buffer::list data;
485485

486-
rgw_cls_bi_entry() : type(BIIndexType::Invalid) {}
487-
488486
void encode(ceph::buffer::list& bl) const {
489487
ENCODE_START(1, 1, bl);
490488
encode(type, bl);

0 commit comments

Comments
 (0)