From: Wolfgang Bangerth Date: Mon, 9 Sep 2013 11:53:35 +0000 (+0000) Subject: Make it compile with gcc 4.1.2, I hope. X-Git-Tag: v8.1.0~855 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b835f5cd042fdfeb9979700eb0d3abd6d65b225;p=dealii.git Make it compile with gcc 4.1.2, I hope. git-svn-id: https://svn.dealii.org/trunk@30647 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_tools.cc b/deal.II/source/grid/grid_tools.cc index 191eca69a8..eeeb0dc6ad 100644 --- a/deal.II/source/grid/grid_tools.cc +++ b/deal.II/source/grid/grid_tools.cc @@ -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, - Point > face_locations; + std::map, + Point > 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, - Point >::const_iterator p + Point >::iterator p = face_locations.begin(); Point center2 (cell->face(f)->center());