From bf4bfd764c8cba206f31e0fe516eef4c2f999b65 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 24 Apr 2002 07:50:50 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/grid/grid_reordering.cc | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.5