0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / BVH / BVH_Distance.hxx
index 286b08a..3988d41 100644 (file)
@@ -36,7 +36,8 @@ public: //! @name Constructor
   //! Constructor
   BVH_Distance()
     : BVH_Traverse <NumType, Dimension, BVHSetType, NumType>(),
-      myDistance (std::numeric_limits<NumType>::max())
+      myDistance (std::numeric_limits<NumType>::max()),
+      myIsDone(Standard_False)
   {
   }