From: bangerth Date: Sat, 27 Dec 2008 16:06:45 +0000 (+0000) Subject: Write the cast in a different way in hopes to make it compile with gcc 3.3.1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbc24e7d85a519303286c86e84d18151177367af;p=dealii-svn.git Write the cast in a different way in hopes to make it compile with gcc 3.3.1 git-svn-id: https://svn.dealii.org/trunk@18014 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/tria_accessor.templates.h b/deal.II/deal.II/include/grid/tria_accessor.templates.h index a12f67684c..83b1dd6fc9 100644 --- a/deal.II/deal.II/include/grid/tria_accessor.templates.h +++ b/deal.II/deal.II/include/grid/tria_accessor.templates.h @@ -1389,7 +1389,7 @@ TriaAccessor::refinement_case() const switch (structdim) { case 1: - return (static_cast > + return (RefinementCase (this->objects().children[this->present_index] != -1 ? // cast the branches