From: Danny Al-Gaaf Date: Thu, 28 Jan 2016 10:56:25 +0000 (+0100) Subject: rgw/rgw_orphan.h: init member in ctor init list instead of body X-Git-Tag: v10.0.4~86^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9e4722b1326f742d01ccf471340158e6a0d45e3d;p=ceph.git rgw/rgw_orphan.h: init member in ctor init list instead of body Signed-off-by: Danny Al-Gaaf --- diff --git a/src/rgw/rgw_orphan.h b/src/rgw/rgw_orphan.h index ad539b262ff..9b70508e941 100644 --- a/src/rgw/rgw_orphan.h +++ b/src/rgw/rgw_orphan.h @@ -127,9 +127,7 @@ class RGWOrphanStore { string oid; public: - RGWOrphanStore(RGWRados *_store) : store(_store) { - oid = RGW_ORPHAN_INDEX_OID; - } + RGWOrphanStore(RGWRados *_store) : store(_store), oid(RGW_ORPHAN_INDEX_OID) {} librados::IoCtx& get_ioctx() { return ioctx; }