0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / StdPersistent / StdPersistent_TopoDS.hxx
index 3062128..5ba0118 100644 (file)
@@ -32,6 +32,7 @@ protected:
     DEFINE_STANDARD_RTTI_INLINE(pTShape, Standard_Transient)
 
   public:
+    pTShape() : myFlags(0) {}
     inline void Read (StdObjMgt_ReadData& theReadData)
       { theReadData >> myShapes >> myFlags; }
     inline void Write (StdObjMgt_WriteData& theWriteData) const