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();}