diff --git a/Point_set_2/include/CGAL/Point_set_2.h b/Point_set_2/include/CGAL/Point_set_2.h index 13c29e87bef..9366f006606 100644 --- a/Point_set_2/include/CGAL/Point_set_2.h +++ b/Point_set_2/include/CGAL/Point_set_2.h @@ -305,7 +305,7 @@ public: void init_dfs() { cur_mark++; - if (cur_mark == std::numeric_limits::max()) init_vertex_marks(); + if (cur_mark == (std::numeric_limits::max)()) init_vertex_marks(); } void mark_vertex(Vertex_handle vh)