Fix a problem with not initialized class member.

This commit is contained in:
jfa 2006-05-02 12:47:47 +00:00
parent 4c00d99625
commit e3994c67d1

View File

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