]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a warning about virtual destructors and virtual functions. 10729/head
authorDavid Wells <drwells@email.unc.edu>
Mon, 20 Jul 2020 15:41:31 +0000 (11:41 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 20 Jul 2020 15:58:53 +0000 (11:58 -0400)
include/deal.II/grid/reference_cell.h

index 8832704e63af3542c8453213ed2afef34baea433..d4bcccb6d04b393d357a6a667d3084499d2c8ee1 100644 (file)
@@ -89,6 +89,11 @@ namespace ReferenceCell
        */
       struct Base
       {
+        /**
+         * Destructor.
+         */
+        virtual ~Base() = default;
+
         /**
          * Number of vertices.
          */

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.