Add missing const

This commit is contained in:
Andreas Fabri 2021-03-05 08:18:45 +00:00
parent 29379aec95
commit fa44e3c543
1 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,10 @@ public:
}
bool
operator!=(const OMesh_edge& other) { return !(*this == other); }
operator!=(const OMesh_edge& other) const
{
return !(*this == other);
}
Halfedge_handle
opposite() const { return Halfedge_handle((halfedge_.idx() & 1) ? halfedge_.idx()-1 : halfedge_.idx()+1); }