summaryrefslogtreecommitdiffstats
path: root/src/messages/MLogAck.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/MLogAck.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/MLogAck.h')
-rw-r--r--src/messages/MLogAck.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MLogAck.h b/src/messages/MLogAck.h
index 977f909d01e..73caf455788 100644
--- a/src/messages/MLogAck.h
+++ b/src/messages/MLogAck.h
@@ -32,7 +32,7 @@ public:
MLogAck() : Message{MSG_LOGACK} {}
MLogAck(uuid_d& f, version_t l) : Message{MSG_LOGACK}, fsid(f), last(l) {}
private:
- ~MLogAck() override {}
+ ~MLogAck() final {}
public:
std::string_view get_type_name() const override { return "log_ack"; }