Skip to content

Commit

Permalink
Merge pull request #11496 from stiopaa1/mds_infotableAddOverride
Browse files Browse the repository at this point in the history
mds/InfoTable.h: add override to virtual functs
  • Loading branch information
liewegas committed Oct 14, 2016
2 parents 07d1943 + 14f3054 commit e04155b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mds/InoTable.h
Expand Up @@ -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;
Expand Down

0 comments on commit e04155b

Please sign in to comment.