compilation warning fix

This commit is contained in:
Ophir Setter 2008-07-28 05:55:45 +00:00
parent c825658702
commit 407aa15da8
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ void construct_polygon(CGAL::Qt_widget* w,
App_point_2 *pts = new App_point_2 [n + 1]; App_point_2 *pts = new App_point_2 [n + 1];
cv.polyline_approximation (n, pts); cv.polyline_approximation (n, pts);
if (cc->direction() == CGAL::LARGER) { if (cc->direction() == CGAL::ARR_RIGHT_TO_LEFT) {
std::reverse(pts, pts+n+1); std::reverse(pts, pts+n+1);
} }