]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a problem which made gcc2.95 a headache.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 18 Jul 1999 21:24:29 +0000 (21:24 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 18 Jul 1999 21:24:29 +0000 (21:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@1591 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_out.cc

index de39f71c68f99dbe1b8133e9ca9fcc6f2e62355e..a2773d65d4df9f9f79289df393bdceee7dbb1f93 100644 (file)
@@ -295,11 +295,11 @@ void GridOut::write_eps (const Triangulation<dim> &tria,
                                   // distinctions between
                                   // eps_flags_1, eps_flags_2, ...
   const EpsFlagsBase &eps_flags_base = (dim==1 ?
-                                       eps_flags_1 :
+                                       (EpsFlagsBase&)eps_flags_1 :
                                        (dim==2 ?
-                                        eps_flags_2 :
+                                        (EpsFlagsBase&)eps_flags_2 :
                                         (dim==3 ?
-                                         eps_flags_3 :
+                                         (EpsFlagsBase&)eps_flags_3 :
                                          *(EpsFlagsBase*)0)));
   
   AssertThrow (out, ExcIO());

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.