From: David Wells Date: Sun, 25 Aug 2019 21:30:06 +0000 (-0400) Subject: Make a destructor virtual. X-Git-Tag: v9.2.0-rc1~1183^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8640%2Fhead;p=dealii.git Make a destructor virtual. The class has virtual functions so we get a warning if we don't do it. --- diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index dac995371a..d2193cad2c 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -738,6 +738,11 @@ namespace Utilities class ConsensusAlgorithmProcess { public: + /** + * Destructor. + */ + virtual ~ConsensusAlgorithmProcess() = default; + /** * @return A vector of ranks this process wants to send a request to. *