]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an AIX workaround in step-7.
authorDavid Wells <wellsd2@rpi.edu>
Sun, 17 Jul 2016 18:17:39 +0000 (14:17 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 29 Jul 2016 00:14:32 +0000 (20:14 -0400)
examples/step-7/step-7.cc

index f013f6ece90339b9265b96b2c4f4b0f980fbeede..75fbc6952ed45bf0549bc0c6b2832f0f04fb3863 100644 (file)
@@ -1388,16 +1388,3 @@ int main ()
 
   return 0;
 }
-
-
-// What comes here is basically just an annoyance that you can ignore if you
-// are not working on an AIX system: on this system, static member variables
-// are not instantiated automatically when their enclosing class is
-// instantiated. This leads to linker errors if these variables are not
-// explicitly instantiated. As said, this is, strictly C++ standards speaking,
-// not necessary, but it doesn't hurt either on other systems, and since it is
-// necessary to get things running on AIX, why not do it:
-namespace Step7
-{
-  template const double SolutionBase<2>::width;
-}

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.