From f8c3ef0a30656b5c88321c5154ecb419450d111e Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 28 Apr 2015 07:36:35 +0200 Subject: [PATCH] fix compilation for (max) --- Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h b/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h index 176d3dcec80..0a8f2e7e46d 100644 --- a/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h +++ b/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h @@ -301,7 +301,7 @@ private: // Get first face sq_circumradius_length // Initialize min - FT min_sqr = std::numeric_limits::max(); + FT min_sqr = (std::numeric_limits::max)(); // Find the minimum value do {