]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Removed an unneeded constructor and comment.
authorDavid Wells <drwells@vt.edu>
Fri, 24 Jul 2015 18:08:46 +0000 (14:08 -0400)
committerDavid Wells <drwells@vt.edu>
Sat, 8 Aug 2015 15:54:31 +0000 (11:54 -0400)
examples/step-14/step-14.cc

index c34c89509a27f53723313f03e2676175b7fc98e2..2cd03db31611999196fc2b60b79a9aaca2947aea 100644 (file)
@@ -1128,17 +1128,13 @@ namespace Step14
 
 
     // And now for the derived class that takes the template argument as
-    // explained above. For some reason, C++ requires us to define a
-    // constructor (which maybe empty), as otherwise a warning is generated
-    // that some data is not initialized.
+    // explained above.
     //
     // Here we pack the data elements into private variables, and allow access
     // to them through the methods of the base class.
     template <class Traits, int dim>
     struct SetUp : public SetUpBase<dim>
     {
-      SetUp () {}
-
       virtual
       const Function<dim>   &get_boundary_values () const;
 

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.