From: David Wells Date: Mon, 7 Jun 2021 17:00:48 +0000 (-0400) Subject: Mark a destructor as virtual. X-Git-Tag: v9.4.0-rc1~1265^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12400%2Fhead;p=dealii.git Mark a destructor as virtual. --- diff --git a/include/deal.II/distributed/repartitioning_policy_tools.h b/include/deal.II/distributed/repartitioning_policy_tools.h index 58cc832001..1c190a25ba 100644 --- a/include/deal.II/distributed/repartitioning_policy_tools.h +++ b/include/deal.II/distributed/repartitioning_policy_tools.h @@ -51,6 +51,11 @@ namespace RepartitioningPolicyTools */ virtual LinearAlgebra::distributed::Vector partition(const Triangulation &tria_coarse_in) const = 0; + + /** + * Destructor. + */ + virtual ~Base() = default; }; /**