mirror of https://github.com/CGAL/cgal
Octree equality operator is now const
This commit is contained in:
parent
4a2bbff45a
commit
71d56294d8
|
|
@ -401,7 +401,7 @@ public:
|
|||
* \param rhs tree to compare with
|
||||
* \return whether the trees have the same topology
|
||||
*/
|
||||
bool operator==(Octree<PointRange, PointMap> &rhs) {
|
||||
bool operator==(Octree<PointRange, PointMap> &rhs) const {
|
||||
|
||||
// Identical trees should have the same bounding box
|
||||
if (rhs.m_bbox_min != m_bbox_min || rhs.m_bbox_side != m_bbox_side)
|
||||
|
|
|
|||
Loading…
Reference in New Issue