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/MOSDPGCreate.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/MOSDPGCreate.h')
-rw-r--r-- | src/messages/MOSDPGCreate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MOSDPGCreate.h b/src/messages/MOSDPGCreate.h index cfea60baef5..d234e5096d3 100644 --- a/src/messages/MOSDPGCreate.h +++ b/src/messages/MOSDPGCreate.h @@ -40,7 +40,7 @@ public: epoch(e) {} private: - ~MOSDPGCreate() override {} + ~MOSDPGCreate() final {} public: std::string_view get_type_name() const override { return "pg_create"; } |