0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / Select3D / Select3D_SensitiveSet.hxx
index 33b82cd..ba94866 100644 (file)
@@ -144,7 +144,11 @@ protected:
   public:
 
     //! Empty constructor.
-    BvhPrimitiveSet() : BVH_PrimitiveSet3d (Handle(Select3D_BVHBuilder3d)()) {}
+    BvhPrimitiveSet()
+    : BVH_PrimitiveSet3d(Handle(Select3D_BVHBuilder3d)()),
+      mySensitiveSet(NULL)
+    {
+    }
 
     //! Destructor.
     ~BvhPrimitiveSet() {}