0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / ShapePersistent / ShapePersistent_HSequence.hxx
index ce86aa3..aa96843 100644 (file)
@@ -72,6 +72,12 @@ class ShapePersistent_HSequence
     typedef node<SequenceClass> Node;
 
   public:
+    //! Empty constructor.
+    instance()
+    : mySize(0)
+    {
+    }
+
     //! Read persistent data from a file.
     Standard_EXPORT virtual void Read (StdObjMgt_ReadData& theReadData);