]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWObjManifest::obj_iterator: init member variables in-class
authorKefu Chai <kchai@redhat.com>
Sun, 25 Aug 2019 01:07:48 +0000 (09:07 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 27 Aug 2019 04:41:57 +0000 (12:41 +0800)
commit690267208d5a630c24d87d2d0339933515843501
treea4927481377604be7b7f2138c1f8736edec18235
parent1efc7b1d740dc2323281010d0c34f0ad136e7660
rgw: RGWObjManifest::obj_iterator: init member variables in-class

* remove the init() member function which is solely used by the
  constructors.
* use constructor delegation to minimize the repeating

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/rgw/rgw_obj_manifest.h