diff --git a/src/BVH/BVH_IndexedBoxSet.hxx b/src/BVH/BVH_IndexedBoxSet.hxx index dd822adce0..4d7bf27589 100644 --- a/src/BVH/BVH_IndexedBoxSet.hxx +++ b/src/BVH/BVH_IndexedBoxSet.hxx @@ -84,7 +84,7 @@ public: //! @name Necessary overrides for BVH construction //! Returns the bounding box with the given index. virtual BVH_Box Box (const Standard_Integer theIndex) const Standard_OVERRIDE { - return myBoxes[myIndices[theIndex]]; + return this->myBoxes[myIndices[theIndex]]; } //! Swaps indices of two specified boxes. @@ -97,7 +97,7 @@ public: //! @name Necessary overrides for BVH construction //! Returns the Element with the index theIndex. virtual DataType Element (const Standard_Integer theIndex) const { - return myElements[myIndices[theIndex]]; + return this->myElements[myIndices[theIndex]]; } protected: //! @name Fields