diff options
author | Patrick Donnelly <pdonnell@redhat.com> | 2020-11-07 02:01:20 +0100 |
---|---|---|
committer | Patrick Donnelly <pdonnell@redhat.com> | 2020-11-10 16:48:52 +0100 |
commit | a171387db108d0a298b65b7d80b86ce37552f61b (patch) | |
tree | 6dc61404da0edeb3822a2cb8570e0884fb3ee54f /src/messages/MMonPaxos.h | |
parent | Merge PR #37932 into master (diff) | |
download | ceph-a171387db108d0a298b65b7d80b86ce37552f61b.tar.xz ceph-a171387db108d0a298b65b7d80b86ce37552f61b.zip |
messages: use final specifier for destructor
Some messages were also missing "override". "final" is used a defensive
coding measure.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src/messages/MMonPaxos.h')
-rw-r--r-- | src/messages/MMonPaxos.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MMonPaxos.h b/src/messages/MMonPaxos.h index 7bc28258a31..f4817da14da 100644 --- a/src/messages/MMonPaxos.h +++ b/src/messages/MMonPaxos.h @@ -76,7 +76,7 @@ private: } private: - ~MMonPaxos() override {} + ~MMonPaxos() final {} public: std::string_view get_type_name() const override { return "paxos"; } |