]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
msg/FastStrategy.h: add override to virtual funct
authorMichal Jarzabek <stiopa@gmail.com>
Thu, 28 Jul 2016 14:41:40 +0000 (15:41 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Fri, 29 Jul 2016 14:52:34 +0000 (15:52 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/msg/xio/FastStrategy.h

index 6a1a7869f9396880480326d617e7c7e3b8042a67..001ff40045fdb0722f8811c1e710a542d465bfc3 100644 (file)
 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 */