1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0029371: The problem of the attributes constructor call

Default Guid is assigned in constructor.
Add test case: tests\bugs\caf\bug29371.
This commit is contained in:
szy
2017-12-20 12:20:29 +03:00
committed by apn
parent 153fee015d
commit 4a5eefb909
17 changed files with 213 additions and 35 deletions

View File

@@ -82,7 +82,7 @@ Handle(TDataStd_Integer) TDataStd_Integer::Set (const TDF_Label& L,
//=======================================================================
TDataStd_Integer::TDataStd_Integer ()
: myValue (-1)
: myValue (-1), myID(GetID())
{ }