From: Wolfgang Bangerth Date: Fri, 18 May 2001 07:50:50 +0000 (+0000) Subject: Don't explicitely specialize static member variables, because they X-Git-Tag: v8.0.0~19129 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31713029e8d268f2786b793003552f5085755337;p=dealii.git Don't explicitely specialize static member variables, because they have already been used. Only provide storage for them. git-svn-id: https://svn.dealii.org/trunk@4665 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/geometry_info.cc b/deal.II/deal.II/source/grid/geometry_info.cc index 7b683a8513..554a46a742 100644 --- a/deal.II/deal.II/source/grid/geometry_info.cc +++ b/deal.II/deal.II/source/grid/geometry_info.cc @@ -15,11 +15,11 @@ #include -template <> const unsigned int GeometryInfo::vertices_per_cell; -template <> const unsigned int GeometryInfo::lines_per_cell; -template <> const unsigned int GeometryInfo::quads_per_cell; -template <> const unsigned int GeometryInfo::hexes_per_cell; -template <> const unsigned int GeometryInfo::children_per_cell; +template const unsigned int GeometryInfo::vertices_per_cell; +template const unsigned int GeometryInfo::lines_per_cell; +template const unsigned int GeometryInfo::quads_per_cell; +template const unsigned int GeometryInfo::hexes_per_cell; +template const unsigned int GeometryInfo::children_per_cell; template <> @@ -36,3 +36,6 @@ template <> const unsigned int GeometryInfo<3>::opposite_face[GeometryInfo<3>::faces_per_cell] = { 1, 0, 4, 5, 2, 3 }; + + +template class GeometryInfo;