From: Adam C. Emerson Date: Mon, 7 Nov 2016 21:35:29 +0000 (-0500) Subject: rgw: Initialize superclass from parameter not member X-Git-Tag: v11.1.0~241^2~18 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9ac604b9bc720fd1fcaaf93ed145c48fda614098;p=ceph.git rgw: Initialize superclass from parameter not member Especially since the member has not been initialized yet. Signed-off-by: Adam C. Emerson --- diff --git a/src/rgw/rgw_cr_rados.h b/src/rgw/rgw_cr_rados.h index ad13ccd90897..87edc67f8129 100644 --- a/src/rgw/rgw_cr_rados.h +++ b/src/rgw/rgw_cr_rados.h @@ -591,7 +591,7 @@ class RGWWaitCR : public RGWSimpleCoroutine { public: RGWWaitCR(RGWAsyncRadosProcessor *_async_rados, CephContext *_cct, Mutex *_lock, Cond *_cond, - int _secs) : RGWSimpleCoroutine(cct), cct(_cct), + int _secs) : RGWSimpleCoroutine(_cct), cct(_cct), async_rados(_async_rados), lock(_lock), cond(_cond), secs(_secs), req(NULL) { } ~RGWWaitCR() {