mirror of https://github.com/CGAL/cgal
Try to fix warning
This commit is contained in:
parent
88606e4110
commit
1c72c40b65
|
|
@ -163,8 +163,6 @@ OutputIterator partition_approx_convex_2(InputIterator first,
|
|||
triangles.insert(c, next);
|
||||
} while (++c != first_c);
|
||||
|
||||
Segment_2 edge;
|
||||
|
||||
#ifdef CGAL_PARTITION_APPROX_CONVEX_DEBUG
|
||||
std::cout << "Inserting diagonals: " << std::endl;
|
||||
#endif
|
||||
|
|
@ -189,7 +187,7 @@ OutputIterator partition_approx_convex_2(InputIterator first,
|
|||
{
|
||||
if ((*e_circ).first->is_constrained((*e_circ).second))
|
||||
{
|
||||
edge = triangles.segment((*e_circ).first, (*e_circ).second);
|
||||
Segment_2 edge = triangles.segment((*e_circ).first, (*e_circ).second);
|
||||
#ifdef CGAL_PARTITION_APPROX_CONVEX_DEBUG
|
||||
std::cout << "edge " << *edge.source() << " " << *edge.target()
|
||||
<< " is constrained " << std::endl;
|
||||
|
|
@ -199,7 +197,7 @@ OutputIterator partition_approx_convex_2(InputIterator first,
|
|||
{
|
||||
if (!triangles.is_infinite(*e_circ))
|
||||
{
|
||||
edge = triangles.segment((*e_circ).first, (*e_circ).second);
|
||||
Segment_2 edge = triangles.segment((*e_circ).first, (*e_circ).second);
|
||||
Circulator source = edge.source();
|
||||
Circulator target = edge.target();
|
||||
Circulator before_s = source; before_s--;
|
||||
|
|
|
|||
Loading…
Reference in New Issue