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