From d18609cb28dec4b27f5168b8198cfccf49cc9cf2 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Wed, 4 Nov 2020 11:06:12 +0100 Subject: [PATCH] Fix max for windows --- Point_set_processing_3/include/CGAL/scanline_orient_normals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Point_set_processing_3/include/CGAL/scanline_orient_normals.h b/Point_set_processing_3/include/CGAL/scanline_orient_normals.h index a5b26bfe938..ecca42d9e11 100644 --- a/Point_set_processing_3/include/CGAL/scanline_orient_normals.h +++ b/Point_set_processing_3/include/CGAL/scanline_orient_normals.h @@ -327,7 +327,7 @@ void orient_scanline (Iterator begin, Iterator end, const Point_3& p = get (point_map, *it); mean_x += p.x(); mean_y += p.y(); - max_z = (std::max(max_z, p.z())); + max_z = (std::max)(max_z, p.z()); ++ nb; }