From 244123d93e7344a61a810332d141e18fd5eeaceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 10 Apr 2024 16:57:08 +0200 Subject: [PATCH] access to property maps are const --- Orthtree/include/CGAL/Orthtree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Orthtree/include/CGAL/Orthtree.h b/Orthtree/include/CGAL/Orthtree.h index 0cba3e781ba..9774c6b5398 100644 --- a/Orthtree/include/CGAL/Orthtree.h +++ b/Orthtree/include/CGAL/Orthtree.h @@ -594,7 +594,7 @@ public: \return an optional containing the property map if it exists */ template - std::optional> property(const std::string& name) { + std::optional> property(const std::string& name) const { auto p = m_node_properties.template get_property_if_exists(name); if (p) return std::optional >(Property_map(*p));