]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an unnecessary class destructor 8110/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Sun, 12 May 2019 11:02:21 +0000 (13:02 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sun, 12 May 2019 11:03:09 +0000 (13:03 +0200)
examples/step-44/step-44.cc

index f57067007ea35fc5f9ecbcc0776bd484d4a14aa5..610eaaa9b4694fc962992dccf83e71ffb50063e2 100644 (file)
@@ -813,8 +813,6 @@ namespace Step44
   public:
     Solid(const std::string &input_file);
 
-    virtual ~Solid();
-
     void run();
 
   private:
@@ -1080,13 +1078,6 @@ namespace Step44
     determine_component_extractors();
   }
 
-  // The class destructor simply clears the data held by the DOFHandler
-  template <int dim>
-  Solid<dim>::~Solid()
-  {
-    dof_handler.clear();
-  }
-
 
   // In solving the quasi-static problem, the time becomes a loading parameter,
   // i.e. we increasing the loading linearly with time, making the two concepts

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.