From: bangerth Date: Fri, 11 Oct 2013 13:25:08 +0000 (+0000) Subject: Help some compilers (notably xlC) with name lookup. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0f458119e5c47993957c5583fef70d310b35847;p=dealii-svn.git Help some compilers (notably xlC) with name lookup. git-svn-id: https://svn.dealii.org/trunk@31203 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/geometry_info.h b/deal.II/include/deal.II/base/geometry_info.h index 22bfb276d2..ced3b187de 100644 --- a/deal.II/include/deal.II/base/geometry_info.h +++ b/deal.II/include/deal.II/base/geometry_info.h @@ -2353,7 +2353,7 @@ RefinementCase<1>::cut_axis (const unsigned int i) const unsigned int dim = 1; Assert (i < dim, ExcIndexRange(i, 0, dim)); - static const RefinementCase options[dim] = { cut_x }; + static const RefinementCase options[dim] = { RefinementPossibilities<1>::cut_x }; return options[i]; } @@ -2367,7 +2367,8 @@ RefinementCase<2>::cut_axis (const unsigned int i) const unsigned int dim = 2; Assert (i < dim, ExcIndexRange(i, 0, dim)); - static const RefinementCase options[dim] = { cut_x, cut_y }; + static const RefinementCase options[dim] = { RefinementPossibilities<2>::cut_x, + RefinementPossibilities<2>::cut_y }; return options[i]; } @@ -2381,7 +2382,9 @@ RefinementCase<3>::cut_axis (const unsigned int i) const unsigned int dim = 3; Assert (i < dim, ExcIndexRange(i, 0, dim)); - static const RefinementCase options[dim] = { cut_x, cut_y, cut_z }; + static const RefinementCase options[dim] = { RefinementPossibilities<3>::cut_x, + RefinementPossibilities<3>::cut_y, + RefinementPossibilities<3>::cut_z }; return options[i]; }