]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd/OSD.cc: add override to virtual functions
authorMichal Jarzabek <stiopa@gmail.com>
Thu, 12 May 2016 19:53:16 +0000 (20:53 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Thu, 12 May 2016 20:13:45 +0000 (21:13 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/osd/OSD.cc

index 9b7e7be42b929e65ad49db36d0d6488f5c1f0500..0bfb0eab4c612eb2faa6c7e3246f01e03f05c50e 100644 (file)
@@ -1947,7 +1947,7 @@ class OSD::C_Tick : public Context {
   OSD *osd;
   public:
   explicit C_Tick(OSD *o) : osd(o) {}
-  void finish(int r) {
+  void finish(int r) override {
     osd->tick();
   }
 };
@@ -1956,7 +1956,7 @@ class OSD::C_Tick_WithoutOSDLock : public Context {
   OSD *osd;
   public:
   explicit C_Tick_WithoutOSDLock(OSD *o) : osd(o) {}
-  void finish(int r) {
+  void finish(int r) override {
     osd->tick_without_osd_lock();
   }
 };