From: wolf Date: Wed, 24 Apr 2002 07:50:50 +0000 (+0000) Subject: Put definitions of static variables into sections guared by X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38b53ec8736833ce1b785573531a2ad16f59d355;p=dealii-svn.git Put definitions of static variables into sections guared by #if deal_II_dimension == ... git-svn-id: https://svn.dealii.org/trunk@5720 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/grid_reordering.cc b/deal.II/deal.II/source/grid/grid_reordering.cc index cae5e07256..3b9abab561 100644 --- a/deal.II/deal.II/source/grid/grid_reordering.cc +++ b/deal.II/deal.II/source/grid/grid_reordering.cc @@ -25,10 +25,15 @@ using namespace std; // static variables +#if deal_II_dimension == 2 const unsigned int GridReorderingInfo<2>::rotational_states_of_cells; const unsigned int GridReorderingInfo<2>::rotational_states_of_faces; +#endif + +#if deal_II_dimension == 3 const unsigned int GridReorderingInfo<3>::rotational_states_of_cells; const unsigned int GridReorderingInfo<3>::rotational_states_of_faces; +#endif template const unsigned int GridReordering::Cell::invalid_neighbor;