]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make it compile with gcc 4.1.2, I hope.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Sep 2013 11:53:35 +0000 (11:53 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Sep 2013 11:53:35 +0000 (11:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@30647 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_tools.cc

index 191eca69a877daf372c3e66e65fb98330053d6f1..eeeb0dc6adecd9868dcda3cdc473f868f9715a3d 100644 (file)
@@ -2562,9 +2562,9 @@ next_cell:
             ExcMessage ("The boundary indicators b_id1 and b_id2 must be"
                         "different to denote different boundaries."));
 
-    typename std::map<std::pair<typename DH::cell_iterator,
-                                unsigned int>,
-                      Point<spacedim> > face_locations;
+    std::map<std::pair<typename DH::cell_iterator,
+                      unsigned int>,
+            Point<spacedim> > face_locations;
 
     // Collect faces with boundary_indicator b_id1
     typename DH::cell_iterator cell = dof_handler.begin();
@@ -2589,7 +2589,7 @@ next_cell:
           {
             typename std::map<std::pair<typename DH::cell_iterator,
                                         unsigned int>,
-                              Point<spacedim> >::const_iterator p
+                              Point<spacedim> >::iterator p
               = face_locations.begin();
 
             Point<spacedim> center2 (cell->face(f)->center());

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.