From bbc24e7d85a519303286c86e84d18151177367af Mon Sep 17 00:00:00 2001 From: bangerth Date: Sat, 27 Dec 2008 16:06:45 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/include/grid/tria_accessor.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5