1
0
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:
szy
2016-11-21 14:14:03 +03:00
committed by apn
parent 41aa3c3d5d
commit 5299b92ba1
4 changed files with 7 additions and 4 deletions

View File

@@ -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())
{ }