From 41141dd1bc13e3e5b13f09ef217ffbb86fe1d1cd Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 10 Mar 2006 11:32:10 +0000 Subject: [PATCH] make_pair -> std::make_pair --- Nef_3/include/CGAL/OFF_to_nef_3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nef_3/include/CGAL/OFF_to_nef_3.h b/Nef_3/include/CGAL/OFF_to_nef_3.h index 9f46306f4ff..afa32b7eb3d 100644 --- a/Nef_3/include/CGAL/OFF_to_nef_3.h +++ b/Nef_3/include/CGAL/OFF_to_nef_3.h @@ -185,7 +185,7 @@ OFF_to_nef_3 (std::istream &i_st, Nef_3 &nef_union, bool verb=false) // construct and enqueue Nef_polyhedron_3 Nef_3 nef (V_f.begin(), V_f.end(), normal, verb); if ( !nef.is_empty() ) - { nef_map.insert (make_pair(nef.number_of_vertices(),nef)); + { nef_map.insert (std::make_pair(nef.number_of_vertices(),nef)); is_nef = true; } } @@ -215,7 +215,7 @@ OFF_to_nef_3 (std::istream &i_st, Nef_3 &nef_union, bool verb=false) { Nef_map_iter nm=nef_map.begin(), nm2=nef_map.begin(); ++nm2; Nef_3 nef_tmp ((nm->second)+(nm2->second)); - nef_map.insert ( make_pair(nef_tmp.number_of_vertices(),nef_tmp)); + nef_map.insert ( std::make_pair(nef_tmp.number_of_vertices(),nef_tmp)); nef_map.erase(nm); nef_map.erase(nm2); }