Merge pull request #7003 from sloriot/BGL-OpenMesh_const_point_operator

Add a const version of the operator
This commit is contained in:
Laurent Rineau 2022-11-07 10:08:10 +01:00
commit 5cc489991a
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public:
: sm_(pm.sm_) : sm_(pm.sm_)
{} {}
reference operator[](key_type v) reference operator[](key_type v) const
{ {
#if defined(CGAL_USE_OM_POINTS) #if defined(CGAL_USE_OM_POINTS)
return sm_->point(v); return sm_->point(v);