We are getting a compilation issue with accessing an incomplete type.
This fix moves some code around to avoid this issue.
I don't fully understand why we don't see this issue everywhere!
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
static string notify_oid_prefix = "notify";
-RGWSI_Notify::RGWSI_Notify(CephContext *cct) : RGWServiceInstance(cct) {}
-RGWSI_Notify::~RGWSI_Notify()
-{
- shutdown();
-}
-
-
class RGWWatcher : public DoutPrefixProvider , public librados::WatchCtx2 {
CephContext *cct;
RGWSI_Notify *svc;
}
};
+RGWSI_Notify::RGWSI_Notify(CephContext *cct) : RGWServiceInstance(cct) {}
+RGWSI_Notify::~RGWSI_Notify()
+{
+ shutdown();
+}
class RGWSI_Notify_ShutdownCB : public RGWSI_Finisher::ShutdownCB
{