remove warning

This commit is contained in:
Michael Hemmer 2015-06-16 13:37:28 +02:00
parent e3f0b0137c
commit a434a0f7a4
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ private:
// Quick fix for now. Can be done faster
bool is_degenerate = false;
for(int i = 0; i < points.size()-2;i++){
for(typename std::vector<Point_2>::size_type i = 0; i < points.size()-2;i++){
if(CGAL::orientation(points[i],points[i+1],points[i+2]) == CGAL::COLLINEAR){
is_degenerate = true;
break;