From 45a2532d6d30a5f6ca687ad0f5ec2cb337b7b87c Mon Sep 17 00:00:00 2001 From: Michal Jarzabek Date: Thu, 28 Jul 2016 15:41:40 +0100 Subject: [PATCH] msg/FastStrategy.h: add override to virtual funct Signed-off-by: Michal Jarzabek --- src/msg/xio/FastStrategy.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 */ -- 2.47.3