]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a workaround for an old intel compiler. 2359/head
authorDavid Wells <wellsd2@rpi.edu>
Wed, 16 Mar 2016 17:45:53 +0000 (13:45 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 17 Mar 2016 00:30:39 +0000 (20:30 -0400)
This was added in April 2005 in commit 0a58949ace and is no longer
necessary.

source/base/geometry_info.cc

index 8d7b354735d16f1808c8234236893f4fce0c7cd4..5ed44c8c5cd8b010020ff72892a0557bf9e8fe7f 100644 (file)
@@ -41,25 +41,6 @@ template <int dim> const unsigned int GeometryInfo<dim>::hexes_per_cell;
 
 using namespace numbers;
 
-// make sure that also the icc compiler defines (and not only declares)
-// these variables
-namespace internal
-{
-  void foo (const unsigned int *) {}
-
-  template <int dim>
-  void define_variables ()
-  {
-    foo(&::dealii::GeometryInfo<dim>::vertices_per_cell);
-  }
-
-  template void define_variables<2> ();
-  template void define_variables<3> ();
-  template void define_variables<4> ();
-}
-
-
-
 template <>
 const unsigned int
 GeometryInfo<1>::unit_normal_direction[faces_per_cell]

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.