From ec26d6b8a93a355d559a2de1fc6084928aa32473 Mon Sep 17 00:00:00 2001 From: Sven Oesau Date: Fri, 24 Jun 2022 17:09:43 +0200 Subject: [PATCH] fix compilation on gcc --- .../Plugins/Point_set/Point_set_shape_detection_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/Point_set/Point_set_shape_detection_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/Point_set/Point_set_shape_detection_plugin.cpp index f7134438b6e..3a731760636 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Point_set/Point_set_shape_detection_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Point_set/Point_set_shape_detection_plugin.cpp @@ -376,7 +376,7 @@ private: const CGAL::Identity_property_map plane_identity_map; CGAL::internal::Dynamic_property_map plane_index_map; - for (auto& it = points->begin(); it != points->end(); it++) + for (Point_set::const_iterator it = points->begin(); it != points->end(); it++) put(plane_index_map, *it, get(region_growing.region_map(), it)); if (dialog.regularize()) {