]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
msg/QueueStrategy: add override to virtual functs
authorMichal Jarzabek <stiopa@gmail.com>
Fri, 29 Jul 2016 14:21:01 +0000 (15:21 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Fri, 29 Jul 2016 14:48:40 +0000 (15:48 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/msg/xio/QueueStrategy.h

index 7b23d8ff25ff31cccca27ab0ffd52791a58a26b7..41f28bb9e7105dc27b584d86c6e0ac2f2f76fe17 100644 (file)
@@ -51,10 +51,10 @@ class QueueStrategy : public DispatchStrategy {
 
 public:
   explicit QueueStrategy(int n_threads);
-  virtual void ds_dispatch(Message *m);
-  virtual void shutdown();
-  virtual void start();
-  virtual void wait();
+  void ds_dispatch(Message *m) override;
+  void shutdown() override;
+  void start() override;
+  void wait() override;
   void entry(QSThread *thrd);
   virtual ~QueueStrategy() {}
 };