]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark a destructor as virtual. 12400/head
authorDavid Wells <drwells@email.unc.edu>
Mon, 7 Jun 2021 17:00:48 +0000 (13:00 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 7 Jun 2021 17:00:48 +0000 (13:00 -0400)
include/deal.II/distributed/repartitioning_policy_tools.h

index 58cc8320014d1093fe9a60f676ea65a3879636ba..1c190a25ba3874fe5a569503591d6df5b076f300 100644 (file)
@@ -51,6 +51,11 @@ namespace RepartitioningPolicyTools
      */
     virtual LinearAlgebra::distributed::Vector<double>
     partition(const Triangulation<dim, spacedim> &tria_coarse_in) const = 0;
+
+    /**
+     * Destructor.
+     */
+    virtual ~Base() = default;
   };
 
   /**

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.