boost::next -> std::next
This commit is contained in:
+2
-2
@@ -253,7 +253,7 @@ struct Intersect_coplanar_faces_3
|
||||
Orientation or_prev=orientations[prev],or_curr=orientations[curr];
|
||||
if ( (or_prev==POSITIVE && or_curr==NEGATIVE) || (or_prev==NEGATIVE && or_curr==POSITIVE) )
|
||||
{
|
||||
Iterator it_curr = inter_pts_size_g_2 ? it:boost::next(it);
|
||||
Iterator it_curr = inter_pts_size_g_2 ? it:std::next(it);
|
||||
prev=&(* inter_pts.insert( it_curr,operator()(*prev,*curr,h1,h2) ) );
|
||||
orientations[prev]=COLLINEAR;
|
||||
CGAL_assertion_code(++pt_added;)
|
||||
@@ -278,7 +278,7 @@ struct Intersect_coplanar_faces_3
|
||||
{
|
||||
if (orientations[&(*it)]==NEGATIVE){
|
||||
inter_pts.erase(it++);
|
||||
if (--nb_interpt == 2 && it!=inter_pts.end() && boost::next(it)==inter_pts.end()) should_revert_list=true;
|
||||
if (--nb_interpt == 2 && it!=inter_pts.end() && std::next(it)==inter_pts.end()) should_revert_list=true;
|
||||
}
|
||||
else
|
||||
++it;
|
||||
|
||||
Reference in New Issue
Block a user