diff --git a/STL_Extension/include/CGAL/Compact_container.h b/STL_Extension/include/CGAL/Compact_container.h index a58d0ea31f8..293ff1d670e 100644 --- a/STL_Extension/include/CGAL/Compact_container.h +++ b/STL_Extension/include/CGAL/Compact_container.h @@ -582,7 +582,7 @@ public: const_pointer ptr = &*cit; - for (const auto [chunk_ptr, size] : all_items) { + for (const auto& [chunk_ptr, size] : all_items) { // Are we in the address range of this block (excluding first and last // elements) ?