Declare a comparison functor const

This commit is contained in:
Andreas Fabri 2018-03-08 14:37:20 +00:00
parent d26517bd8f
commit 54a45c6a5e
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public:
typedef Point_comparison Compare_points;
Compare_points comp;
Compare_halfedges_in_reflex_edge_sorter() {}
bool operator()(Halfedge_handle e0, Halfedge_handle e1)
bool operator()(Halfedge_handle e0, Halfedge_handle e1) const
{
return comp(e0->source()->point(), e1->source()->point());
}