Commit 3dbb624e authored by Max Lyon's avatar Max Lyon

mark vertex_cells and halfedge_cells as const

parent 75322fef
Pipeline #3351 passed with stage
in 3 minutes and 37 seconds
......@@ -140,7 +140,7 @@ public:
return VertexCellIter(_h, this, _max_laps);
}
std::pair<VertexCellIter, VertexCellIter> vertex_cells(const VertexHandle& _h, int _max_laps = 1){
std::pair<VertexCellIter, VertexCellIter> vertex_cells(const VertexHandle& _h, int _max_laps = 1) const {
VertexCellIter begin = vc_iter(_h, _max_laps);
return std::make_pair(begin, make_end_circulator(begin));
}
......@@ -149,7 +149,7 @@ public:
return HalfEdgeCellIter(_h, this, _max_laps);
}
std::pair<HalfEdgeCellIter, HalfEdgeCellIter> halfedge_cells(const HalfEdgeHandle& _h, int _max_laps = 1){
std::pair<HalfEdgeCellIter, HalfEdgeCellIter> halfedge_cells(const HalfEdgeHandle& _h, int _max_laps = 1) const {
HalfEdgeCellIter begin = hec_iter(_h, _max_laps);
return std::make_pair(begin, make_end_circulator(begin));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment