Skip to content

Commit

Permalink
Octree equality operator is now const
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Jul 16, 2020
1 parent a3b1632 commit df887c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Octree/include/CGAL/Octree.h
Expand Up @@ -401,7 +401,7 @@ class Octree {
* \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)
Expand Down

0 comments on commit df887c5

Please sign in to comment.