mirror of https://github.com/CGAL/cgal
Merge pull request #7003 from sloriot/BGL-OpenMesh_const_point_operator
Add a const version of the operator
This commit is contained in:
commit
5cc489991a
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue