From 333a07e8a944faded7d9ffc05f591f128c50e454 Mon Sep 17 00:00:00 2001 From: Michal Jarzabek Date: Fri, 21 Oct 2016 22:32:15 +0100 Subject: [PATCH] mds/InoTable.h: add override to virtual functs Signed-off-by: Michal Jarzabek --- src/mds/InoTable.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mds/InoTable.h b/src/mds/InoTable.h index 3208a4c92fc55..ebb24121463b7 100644 --- a/src/mds/InoTable.h +++ b/src/mds/InoTable.h @@ -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; -- 2.39.5