diff --git a/Generator/include/CGAL/random_polygon_2.h b/Generator/include/CGAL/random_polygon_2.h index 4439ef7fc66..daacd274105 100644 --- a/Generator/include/CGAL/random_polygon_2.h +++ b/Generator/include/CGAL/random_polygon_2.h @@ -110,7 +110,7 @@ OutputIterator copy_n_unique(InputIterator first, Size n, typedef typename Traits::Less_xy_2 Less_xy_2; std::set sorted_point_set; - for (std::size_t i = 0; i < n; i++) + for (Size i = 0; i < n; i++) { if (sorted_point_set.insert(*first).second) {