From 0272cac1cf579f578753ac31906d47d5bbee4cf6 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 9 Sep 2013 11:53:35 +0000 Subject: [PATCH] Make it compile with gcc 4.1.2, I hope. git-svn-id: https://svn.dealii.org/trunk@30647 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/grid/grid_tools.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()); -- 2.39.5