]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Write the cast in a different way in hopes to make it compile with gcc 3.3.1
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Dec 2008 16:06:45 +0000 (16:06 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Dec 2008 16:06:45 +0000 (16:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@18014 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria_accessor.templates.h

index a12f67684c3e4f4985cc6732de19c4900960b79d..83b1dd6fc9d0ed7c1c4de87a5f5fe5035f378e8c 100644 (file)
@@ -1389,7 +1389,7 @@ TriaAccessor<structdim, dim, spacedim>::refinement_case() const
   switch (structdim)
     {
       case 1:
-           return (static_cast<RefinementCase<structdim> >
+           return (RefinementCase<structdim>
                    (this->objects().children[this->present_index] != -1
                     ?
                                                      // cast the branches

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.