From 7dabb4c47b4c0c20e21ec6d8ca644bfe996fb201 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 30 Apr 2019 10:12:58 +0200 Subject: [PATCH] Move variable in the ifdef/endif scope --- .../include/CGAL/Partition_2/partition_approx_convex_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Partition_2/include/CGAL/Partition_2/partition_approx_convex_2.h b/Partition_2/include/CGAL/Partition_2/partition_approx_convex_2.h index f25336d5cf2..61c01bf20be 100644 --- a/Partition_2/include/CGAL/Partition_2/partition_approx_convex_2.h +++ b/Partition_2/include/CGAL/Partition_2/partition_approx_convex_2.h @@ -187,8 +187,8 @@ OutputIterator partition_approx_convex_2(InputIterator first, { 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 + Segment_2 edge = triangles.segment((*e_circ).first, (*e_circ).second); std::cout << "edge " << *edge.source() << " " << *edge.target() << " is constrained " << std::endl; #endif