From: Wolfgang Bangerth Date: Wed, 24 Apr 2002 07:50:50 +0000 (+0000) Subject: Put definitions of static variables into sections guared by X-Git-Tag: v8.0.0~18128 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf4bfd764c8cba206f31e0fe516eef4c2f999b65;p=dealii.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;