From: David Wells Date: Wed, 16 Mar 2016 17:45:53 +0000 (-0400) Subject: Remove a workaround for an old intel compiler. X-Git-Tag: v8.5.0-rc1~1210^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b470225d0307db54d0fe84cb752caba884a7f2a9;p=dealii.git Remove a workaround for an old intel compiler. This was added in April 2005 in commit 0a58949ace and is no longer necessary. --- diff --git a/source/base/geometry_info.cc b/source/base/geometry_info.cc index 8d7b354735..5ed44c8c5c 100644 --- a/source/base/geometry_info.cc +++ b/source/base/geometry_info.cc @@ -41,25 +41,6 @@ template const unsigned int GeometryInfo::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 - void define_variables () - { - foo(&::dealii::GeometryInfo::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]