From 31713029e8d268f2786b793003552f5085755337 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 18 May 2001 07:50:50 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/grid/geometry_info.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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; -- 2.39.5