From 6542788b0445ed24bc72d9a6f8d77c1f1fb03be5 Mon Sep 17 00:00:00 2001 From: emv Date: Thu, 21 May 2020 10:05:05 +0300 Subject: [PATCH] # fixing errors on linux and MacOS --- src/BVH/BVH_IndexedBoxSet.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5