diff --git a/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h b/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h index eb3f959f4a6..c7b55506761 100644 --- a/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h +++ b/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h @@ -83,6 +83,7 @@ public: typedef typename Dt::Finite_vertices_iterator Finite_vertices_iterator; typedef typename Dt::Locate_type Locate_type; + typedef typename Dt::size_type size_type; using Dt::finite_vertices_begin; using Dt::finite_vertices_end; @@ -247,7 +248,7 @@ public: clear(); - int n = Dt::insert(first, last); + size_type n = Dt::insert(first, last); if (dimension() == 2) {