Skip to content

Commit 80c8320

Browse files
authored
Merge pull request ceph#62780 from aainscow/sv_notify_fix
rgw: Fix compilation issue with clang on centos Reviewed-by: Casey Bodley <[email protected]>
2 parents fdf6e01 + fc081f1 commit 80c8320

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/rgw/services/svc_notify.cc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ using namespace std;
2222

2323
static string notify_oid_prefix = "notify";
2424

25-
RGWSI_Notify::RGWSI_Notify(CephContext *cct) : RGWServiceInstance(cct) {}
26-
RGWSI_Notify::~RGWSI_Notify()
27-
{
28-
shutdown();
29-
}
30-
31-
3225
class RGWWatcher : public DoutPrefixProvider , public librados::WatchCtx2 {
3326
CephContext *cct;
3427
RGWSI_Notify *svc;
@@ -141,6 +134,11 @@ class RGWWatcher : public DoutPrefixProvider , public librados::WatchCtx2 {
141134
}
142135
};
143136

137+
RGWSI_Notify::RGWSI_Notify(CephContext *cct) : RGWServiceInstance(cct) {}
138+
RGWSI_Notify::~RGWSI_Notify()
139+
{
140+
shutdown();
141+
}
144142

145143
class RGWSI_Notify_ShutdownCB : public RGWSI_Finisher::ShutdownCB
146144
{

0 commit comments

Comments
 (0)