]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix a problem with not initialized class member.
authorjfa <jfa@opencascade.com>
Tue, 2 May 2006 12:47:47 +0000 (12:47 +0000)
committerjfa <jfa@opencascade.com>
Tue, 2 May 2006 12:47:47 +0000 (12:47 +0000)
src/SMESHDS/SMESHDS_Mesh.cxx

index c1d3cc45c57837ba80a211819b53d54db8c78341..10cb0b0a5bf2414667a95f1d8bbb22436e112291 100644 (file)
@@ -46,8 +46,9 @@ using namespace std;
 //purpose  : 
 //=======================================================================
 SMESHDS_Mesh::SMESHDS_Mesh(int theMeshID, bool theIsEmbeddedMode):
+  myMeshID(theMeshID),
   myIsEmbeddedMode(theIsEmbeddedMode),
-  myMeshID(theMeshID)
+  myCurSubID(-1)
 {
   myScript = new SMESHDS_Script(theIsEmbeddedMode);
 }