From: Kefu Chai Date: Sat, 3 Oct 2020 10:56:30 +0000 (+0800) Subject: crimson/osd: mark md_config_obs_t a private parent class X-Git-Tag: v16.1.0~919^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=903f4b47e8786629f689745c294ec380873ee33e;p=ceph.git crimson/osd: mark md_config_obs_t a private parent class it registers itself as an observer in its ctor, so there is no need to mark md_config_obs_t a public parent class. Signed-off-by: Kefu Chai --- diff --git a/src/crimson/osd/osd_operation.h b/src/crimson/osd/osd_operation.h index 35f997ba9faa3..2a2250e6571a5 100644 --- a/src/crimson/osd/osd_operation.h +++ b/src/crimson/osd/osd_operation.h @@ -313,7 +313,8 @@ public: * expensive and simply limits the number that can be * concurrently active. */ -class OperationThrottler : public Blocker, md_config_obs_t { +class OperationThrottler : public Blocker, + private md_config_obs_t { public: OperationThrottler(ConfigProxy &conf);