mirror of https://github.com/CGAL/cgal
in deletion_event in Random_polygon_2_sweep, removed use of
prev_seg iterator after it was erased (replaced with thing it was pointing to before erased).
This commit is contained in:
parent
d568686280
commit
3c4d712c84
|
|
@ -1,5 +1,10 @@
|
|||
Generator Package: Release changes:
|
||||
---------------------------------------------------------------------
|
||||
2.58 (24 Apr 2002)
|
||||
- in deletion_event in Random_polygon_2_sweep, removed use of
|
||||
prev_seg iterator after it was erased (replaced with thing it
|
||||
was pointing to before erased).
|
||||
|
||||
2.57 (23 Apr 2002)
|
||||
- added cast to Creator argument type to get rid of warnings for
|
||||
Solaris + g++ 3.0.1
|
||||
|
|
|
|||
|
|
@ -439,7 +439,7 @@ deletion_event(Tree *tree, Vertex_index prev_vt, Vertex_index mid_vt)
|
|||
#if defined(CGAL_POLY_GENERATOR_DEBUG)
|
||||
std::cout << "conflict2 is seg_above" << std::endl;
|
||||
#endif
|
||||
conflict1 = *prev_seg;
|
||||
conflict1 = prev_vt;
|
||||
conflict2 = *seg_above;
|
||||
return false;
|
||||
}
|
||||
|
|
@ -451,7 +451,7 @@ deletion_event(Tree *tree, Vertex_index prev_vt, Vertex_index mid_vt)
|
|||
#if defined(CGAL_POLY_GENERATOR_DEBUG)
|
||||
std::cout << "conflict2 is --seg_above" << std::endl;
|
||||
#endif
|
||||
conflict1 = *prev_seg;
|
||||
conflict1 = prev_vt;
|
||||
conflict2 = *seg_above;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue