0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / BVH / BVH_PairDistance.hxx
index c7238cc..5a4c399 100644 (file)
@@ -38,7 +38,8 @@ public: //! @name Constructor
   //! Constructor
   BVH_PairDistance()
     : BVH_PairTraverse <NumType, Dimension, BVHSetType, NumType>(),
-      myDistance (std::numeric_limits<NumType>::max())
+      myDistance (std::numeric_limits<NumType>::max()),
+      myIsDone(Standard_False)
   {
   }