struct cls_rgw_gc_set_entry_op {
uint32_t expiration_secs;
cls_rgw_gc_obj_info info;
- cls_rgw_gc_set_entry_op() {}
+ cls_rgw_gc_set_entry_op() : expiration_secs(0) {}
void encode(bufferlist& bl) const {
ENCODE_START(1, 1, bl);
struct cls_rgw_gc_defer_entry_op {
uint32_t expiration_secs;
string tag;
- cls_rgw_gc_defer_entry_op() {}
+ cls_rgw_gc_defer_entry_op() : expiration_secs(0) {}
void encode(bufferlist& bl) const {
ENCODE_START(1, 1, bl);
string marker;
uint32_t max;
- cls_rgw_gc_list_op() {}
+ cls_rgw_gc_list_op() : max(0) {}
void encode(bufferlist& bl) const {
ENCODE_START(1, 1, bl);
list<cls_rgw_gc_obj_info> entries;
bool truncated;
- cls_rgw_gc_list_ret() {}
+ cls_rgw_gc_list_ret() : truncated(false) {}
void encode(bufferlist& bl) const {
ENCODE_START(1, 1, bl);
rgw_usage_data total_usage; /* this one is kept for backwards compatibility */
map<string, rgw_usage_data> usage_map;
- rgw_usage_log_entry() {}
- rgw_usage_log_entry(string& o, string& b) : owner(o), bucket(b) {}
+ rgw_usage_log_entry() : epoch(0) {}
+ rgw_usage_log_entry(string& o, string& b) : owner(o), bucket(b), epoch(0) {}
void encode(bufferlist& bl) const {
ENCODE_START(2, 1, bl);