From 8ec19079fb8df4e40e768eb6f1f7196787d84854 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 31 Jul 2006 23:06:16 +0000 Subject: [PATCH] Fixed min max problem --- Triangulation_2/include/CGAL/Triangulation_data_structure_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Triangulation_2/include/CGAL/Triangulation_data_structure_2.h b/Triangulation_2/include/CGAL/Triangulation_data_structure_2.h index 463436099f9..478c9a6b81c 100644 --- a/Triangulation_2/include/CGAL/Triangulation_data_structure_2.h +++ b/Triangulation_2/include/CGAL/Triangulation_data_structure_2.h @@ -1817,7 +1817,7 @@ copy_tds(const Tds &tds, Vertex_handle vh) set_dimension(tds.dimension()); // Number of pointers to cell/vertex to copy per cell. - int dim = std::max(1, dimension() + 1); + int dim = (std::max)(1, dimension() + 1); if(n == 0) {return Vertex_handle();}