]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg: trivial destructor should be default 56565/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 11 Dec 2023 20:27:58 +0000 (15:27 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Mar 2024 19:21:52 +0000 (15:21 -0400)
See: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-five

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/msg/Dispatcher.h

index 885f1843b31c417c35f766fbecbb390f4ef0510c..ddf273288b35dc8eeb9d5c77599a73cc1246e366 100644 (file)
@@ -33,7 +33,7 @@ public:
     : cct(cct_)
   {
   }
-  virtual ~Dispatcher() { }
+  virtual ~Dispatcher() = default;
 
   /**
    * The Messenger calls this function to query if you are capable