Octree equality operator is now const

This commit is contained in:
Jackson Campolattaro 2020-07-16 10:50:16 -04:00
parent 4a2bbff45a
commit 71d56294d8
1 changed files with 1 additions and 1 deletions

View File

@ -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)