0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / StdObject / StdObject_Shape.hxx
index 7d1ab80..9a53d23 100644 (file)
@@ -28,6 +28,9 @@ class StdObject_Shape
   friend class ShapePersistent_TopoDS;
 
 public:
+  //! Empty constructor.
+  StdObject_Shape() : myOrient(0) {}
+
   //! Import transient object from the persistent data.
   Standard_EXPORT TopoDS_Shape Import() const;