]> OCCT Git - occt-copy.git/commitdiff
# fixing errors on linux and MacOS CR30892
authoremv <emv@opencascade.com>
Thu, 21 May 2020 07:05:05 +0000 (10:05 +0300)
committeremv <emv@opencascade.com>
Thu, 21 May 2020 07:05:05 +0000 (10:05 +0300)
src/BVH/BVH_IndexedBoxSet.hxx

index dd822adce052cc87746b56caec618c6417d8edde..4d7bf275899666b2da5be693da62df21f2677e4e 100644 (file)
@@ -84,7 +84,7 @@ public: //! @name Necessary overrides for BVH construction
   //! Returns the bounding box with the given index.
   virtual BVH_Box <NumType, Dimension> 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