summaryrefslogtreecommitdiffstats
path: root/src/messages/MMonPaxos.h
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2020-11-07 02:01:20 +0100
committerPatrick Donnelly <pdonnell@redhat.com>2020-11-10 16:48:52 +0100
commita171387db108d0a298b65b7d80b86ce37552f61b (patch)
tree6dc61404da0edeb3822a2cb8570e0884fb3ee54f /src/messages/MMonPaxos.h
parentMerge PR #37932 into master (diff)
downloadceph-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.h2
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"; }