From 9ac604b9bc720fd1fcaaf93ed145c48fda614098 Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Mon, 7 Nov 2016 16:35:29 -0500 Subject: [PATCH] rgw: Initialize superclass from parameter not member Especially since the member has not been initialized yet. Signed-off-by: Adam C. Emerson --- src/rgw/rgw_cr_rados.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_cr_rados.h b/src/rgw/rgw_cr_rados.h index ad13ccd908974..87edc67f81298 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() { -- 2.39.5