]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Implement an empty, virtual destructor via '=default'.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 22 Jun 2017 14:48:02 +0000 (08:48 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 22 Jun 2017 14:48:02 +0000 (08:48 -0600)
include/deal.II/dofs/dof_handler_policy.h
source/dofs/dof_handler_policy.cc

index 259c5a3357305d01289fdfcb202d5f5c8ff59585..c73e78b9679e2f5be1a680d880f96429ab685299 100644 (file)
@@ -59,7 +59,7 @@ namespace internal
         /**
          * Destructor.
          */
-        virtual ~PolicyBase ();
+        virtual ~PolicyBase () = default;
 
         /**
          * Distribute degrees of freedom on the object given as first
index bd3f60899a2a7290f37082689a5c2ac54bc47831..bf859fdc18b2b68ccc775885df71326d359461d0 100644 (file)
@@ -908,13 +908,6 @@ namespace internal
 
 
 
-      /* --------------------- class PolicyBase ---------------- */
-
-      template <int dim, int spacedim>
-      PolicyBase<dim,spacedim>::~PolicyBase ()
-      {}
-
-
       /* --------------------- class Sequential ---------------- */
 
 

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.