mirror of https://github.com/CGAL/cgal
make_pair -> std::make_pair
This commit is contained in:
parent
62dd681016
commit
41141dd1bc
|
|
@ -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 <Kernel>
|
// construct and enqueue Nef_polyhedron_3 <Kernel>
|
||||||
Nef_3 nef (V_f.begin(), V_f.end(), normal, verb);
|
Nef_3 nef (V_f.begin(), V_f.end(), normal, verb);
|
||||||
if ( !nef.is_empty() )
|
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;
|
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();
|
{ Nef_map_iter nm=nef_map.begin(), nm2=nef_map.begin();
|
||||||
++nm2;
|
++nm2;
|
||||||
Nef_3 nef_tmp ((nm->second)+(nm2->second));
|
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(nm);
|
||||||
nef_map.erase(nm2);
|
nef_map.erase(nm2);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue