From 54629efea2a2b970f3080b9cf080cdd306e277d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 3 Nov 2022 15:51:11 +0100 Subject: [PATCH] make the operator const --- BGL/include/CGAL/boost/graph/properties_OpenMesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BGL/include/CGAL/boost/graph/properties_OpenMesh.h b/BGL/include/CGAL/boost/graph/properties_OpenMesh.h index 7f1d44979d1..5b252c00ee1 100644 --- a/BGL/include/CGAL/boost/graph/properties_OpenMesh.h +++ b/BGL/include/CGAL/boost/graph/properties_OpenMesh.h @@ -202,7 +202,7 @@ public: : sm_(pm.sm_) {} - reference operator[](key_type v) + reference operator[](key_type v) const { #if defined(CGAL_USE_OM_POINTS) return sm_->point(v);