From f1ab3edb2d5ef9ecda38a1a09eab6b5742e5218d Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 18 Jan 2012 10:59:39 +0000 Subject: [PATCH] Fix for Windows 'min/max' bug --- Point_set_2/include/CGAL/Point_set_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)