0029371: The problem of the attributes constructor call
[occt.git] / src / TDataStd / TDataStd_BooleanList.cxx
index 317cf0b..086cbfd 100644 (file)
@@ -55,10 +55,8 @@ static Handle(TDataStd_BooleanList) SetAttr(const TDF_Label&       label,
 //function : TDataStd_BooleanList
 //purpose  : Empty Constructor
 //=======================================================================
-TDataStd_BooleanList::TDataStd_BooleanList() 
-{
-
-}
+TDataStd_BooleanList::TDataStd_BooleanList() : myID(GetID())
+{}
 
 //=======================================================================
 //function : Set