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/MLogAck.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/MLogAck.h')
-rw-r--r-- | src/messages/MLogAck.h | 2 |
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"; } |