mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0028134: TDataStd_Name attribute gets null ID.
'myID' field is initialized in constructor now.
This commit is contained in:
@@ -78,7 +78,7 @@ Handle(TDataStd_Integer) TDataStd_Integer::Set (const TDF_Label& L, const Sta
|
||||
//=======================================================================
|
||||
|
||||
TDataStd_Integer::TDataStd_Integer ()
|
||||
: myValue (-1)
|
||||
: myValue (-1), myID (GetID())
|
||||
{ }
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user