From 1b564428e55931d2271f24901e8b73d084e000e6 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Tue, 18 Aug 2020 08:19:02 -0400 Subject: [PATCH] Zipper - add const accessors for svc and ctl Signed-off-by: Daniel Gryniewicz --- src/rgw/rgw_sal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rgw/rgw_sal.h b/src/rgw/rgw_sal.h index 197af9d6a88..df8670fa17a 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; } -- 2.39.5