]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/InfoTable.h: add override to virtual functs 11496/head
authorMichal Jarzabek <stiopa@gmail.com>
Fri, 14 Oct 2016 15:29:23 +0000 (16:29 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Fri, 14 Oct 2016 15:32:09 +0000 (16:32 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/mds/InoTable.h

index 3208a4c92fc556fe019d2759b75df70dba0181c7..ebb24121463b7539202d002644dedd587788c990 100644 (file)
@@ -44,13 +44,13 @@ class InoTable : public MDSTable {
   bool repair(inodeno_t id);
   bool is_marked_free(inodeno_t id) const;
 
-  void reset_state();
-  void encode_state(bufferlist& bl) const {
+  void reset_state() override;
+  void encode_state(bufferlist& bl) const override {
     ENCODE_START(2, 2, bl);
     ::encode(free, bl);
     ENCODE_FINISH(bl);
   }
-  void decode_state(bufferlist::iterator& bl) {
+  void decode_state(bufferlist::iterator& bl) override {
     DECODE_START_LEGACY_COMPAT_LEN(2, 2, 2, bl);
     ::decode(free, bl);
     projected_free = free;