]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Zipper - add const accessors for svc and ctl 36381/head
authorDaniel Gryniewicz <dang@redhat.com>
Tue, 18 Aug 2020 12:19:02 +0000 (08:19 -0400)
committerDaniel Gryniewicz <dang@redhat.com>
Tue, 18 Aug 2020 12:19:02 +0000 (08:19 -0400)
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
src/rgw/rgw_sal.h

index 197af9d6a88cf63fe50e5f66bbfa511f45304eee..df8670fa17a9159d59f0a2f7ec51a00787020192 100644 (file)
@@ -638,7 +638,9 @@ class RGWRadosStore : public RGWStore {
     RGWRados *getRados(void) { return rados; }
 
     RGWServices *svc() { return &rados->svc; }
+    const RGWServices *svc() const { return &rados->svc; }
     RGWCtl *ctl() { return &rados->ctl; }
+    const RGWCtl *ctl() const { return &rados->ctl; }
 
     void setUserCtl(RGWUserCtl *_ctl) { user_ctl = _ctl; }