From: Wolfgang 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-Tag: v8.0.0~8224 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981ada31b93db81eff91e6125d3f7fb3bf2ada43;p=dealii.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