mirror of https://github.com/CGAL/cgal
Move variable in the ifdef/endif scope
This commit is contained in:
parent
1c72c40b65
commit
7dabb4c47b
|
|
@ -187,8 +187,8 @@ OutputIterator partition_approx_convex_2(InputIterator first,
|
||||||
{
|
{
|
||||||
if ((*e_circ).first->is_constrained((*e_circ).second))
|
if ((*e_circ).first->is_constrained((*e_circ).second))
|
||||||
{
|
{
|
||||||
Segment_2 edge = triangles.segment((*e_circ).first, (*e_circ).second);
|
|
||||||
#ifdef CGAL_PARTITION_APPROX_CONVEX_DEBUG
|
#ifdef CGAL_PARTITION_APPROX_CONVEX_DEBUG
|
||||||
|
Segment_2 edge = triangles.segment((*e_circ).first, (*e_circ).second);
|
||||||
std::cout << "edge " << *edge.source() << " " << *edge.target()
|
std::cout << "edge " << *edge.source() << " " << *edge.target()
|
||||||
<< " is constrained " << std::endl;
|
<< " is constrained " << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue