make the operator const

This commit is contained in:
Sébastien Loriot 2022-11-03 15:51:11 +01:00
parent adc5bd4677
commit 54629efea2
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);