From: Daniel Gryniewicz Date: Tue, 18 Aug 2020 12:19:02 +0000 (-0400) Subject: Zipper - add const accessors for svc and ctl X-Git-Tag: v16.1.0~1391^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1b564428e55931d2271f24901e8b73d084e000e6;p=ceph.git Zipper - add const accessors for svc and ctl Signed-off-by: Daniel Gryniewicz --- diff --git a/src/rgw/rgw_sal.h b/src/rgw/rgw_sal.h index 197af9d6a88c..df8670fa17a9 100644 --- a/src/rgw/rgw_sal.h +++ b/src/rgw/rgw_sal.h @@ -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; }