From: Michal Jarzabek Date: Thu, 28 Jul 2016 14:41:40 +0000 (+0100) Subject: msg/FastStrategy.h: add override to virtual funct X-Git-Tag: v11.0.1~204^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=45a2532d6d30a5f6ca687ad0f5ec2cb337b7b87c;p=ceph.git msg/FastStrategy.h: add override to virtual funct Signed-off-by: Michal Jarzabek --- diff --git a/src/msg/xio/FastStrategy.h b/src/msg/xio/FastStrategy.h index 6a1a7869f939..001ff40045fd 100644 --- a/src/msg/xio/FastStrategy.h +++ b/src/msg/xio/FastStrategy.h @@ -20,16 +20,16 @@ class FastStrategy : public DispatchStrategy { public: FastStrategy() {} - virtual void ds_dispatch(Message *m) { + void ds_dispatch(Message *m) override { msgr->ms_fast_preprocess(m); if (msgr->ms_can_fast_dispatch(m)) msgr->ms_fast_dispatch(m); else msgr->ms_deliver_dispatch(m); } - virtual void shutdown() {} - virtual void start() {} - virtual void wait() {} + void shutdown() override {} + void start() override {} + void wait() override {} virtual ~FastStrategy() {} }; #endif /* FAST_STRATEGY_H */