Skip to content

Commit

Permalink
mcrouter/lib/network/Transport.h: mark overriding functions with "ove…
Browse files Browse the repository at this point in the history
…rride"

Summary:
This avoids the following errors:

  mcrouter/lib/network/Transport.h:232:3: error: '~Transport' overrides a destructor but is not marked 'override' [-Werror,-Wsuggest-destructor-override]

Reviewed By: r-barnes

Differential Revision: D33397859

fbshipit-source-id: 3ff1a6b0a0c5e07a1ae1178a97996bf4c4afe093
  • Loading branch information
meyering authored and facebook-github-bot committed Jan 4, 2022
1 parent 90d63a3 commit b576c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcrouter/lib/network/Transport.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class Transport : public folly::DelayedDestruction {
virtual void setFlushList(FlushList* flushList) = 0;

protected:
~Transport() = default;
~Transport() override = default;
};

} // namespace memcache
Expand Down

0 comments on commit b576c95

Please sign in to comment.