]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make a destructor virtual. 8640/head
authorDavid Wells <drwells@email.unc.edu>
Sun, 25 Aug 2019 21:30:06 +0000 (17:30 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sun, 25 Aug 2019 21:30:06 +0000 (17:30 -0400)
The class has virtual functions so we get a warning if we don't do it.

include/deal.II/base/mpi.h

index dac995371a3baa58d0300c9f7d1d77d6ddd64648..d2193cad2c53b0ba9870a3bce1c3ec7c38d5ae24 100644 (file)
@@ -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.
        *

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.