]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some empty destructors.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 4 Mar 2017 21:50:32 +0000 (16:50 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 4 Mar 2017 23:24:02 +0000 (18:24 -0500)
The compiler can generate these for us.

source/fe/fe_tools_extrapolate.cc

index f8664dd84e364180e2a9b522d08ceacdeb870961..d902e5f50b33d29b41bbd1003eb9eda90bfe6bc7 100644 (file)
@@ -69,8 +69,6 @@ namespace FETools
 
       ExtrapolateImplementation ();
 
-      ~ExtrapolateImplementation ();
-
       template <class InVector>
       void extrapolate_parallel (const InVector &u2_relevant,
                                  const DoFHandler<dim,spacedim> &dof2,
@@ -379,9 +377,6 @@ namespace FETools
         AssertThrow(false, ExcNotImplemented())
       }
 
-      ~ExtrapolateImplementation ()
-      {}
-
       template <class InVector>
       void extrapolate_parallel (const InVector &/*u2_relevant*/,
                                  const DoFHandler<1,1> &/*dof2*/,
@@ -399,9 +394,6 @@ namespace FETools
         AssertThrow(false, ExcNotImplemented())
       }
 
-      ~ExtrapolateImplementation ()
-      {}
-
       template <class InVector>
       void extrapolate_parallel (const InVector &/*u2_relevant*/,
                                  const DoFHandler<1,2> &/*dof2*/,
@@ -419,9 +411,6 @@ namespace FETools
         AssertThrow(false, ExcNotImplemented())
       }
 
-      ~ExtrapolateImplementation ()
-      {}
-
       template <class InVector>
       void extrapolate_parallel (const InVector &/*u2_relevant*/,
                                  const DoFHandler<1,3> &/*dof2*/,
@@ -439,13 +428,6 @@ namespace FETools
 
 
 
-    template <int dim,int spacedim,class OutVector>
-    ExtrapolateImplementation<dim,spacedim,OutVector>::
-    ~ExtrapolateImplementation ()
-    {}
-
-
-
     template <int dim,int spacedim,class OutVector>
     ExtrapolateImplementation<dim,spacedim,OutVector>::
     CellData::CellData ()

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.