From 9b3132a2cdc6c05bec58418890bf71e3ff40ac2a Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Thu, 18 Sep 2025 13:16:20 +0300 Subject: [PATCH] Pacify MSVC (min/max issue) --- .../CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h index 43b691e5bba..6dee64bd841 100644 --- a/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h +++ b/Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_on_surface_base_2.h @@ -1336,7 +1336,7 @@ protected: std::size_t size = std::distance(begin, end); auto it = begin; while (it != end) { - std::size_t num = std::min(size+1, k); + std::size_t num = (std::min)(size+1, k); arr_entries.resize(num); for (std::size_t i = 1; i < num; ++i) { // process pgn