X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FStandard%2FStandard_Type.cxx;h=b18c8b049a0749add3cfd91956449e821765d4b1;hp=95169151101ef401c539ccde2027ba6d03539d9c;hb=ef779ae0da0ded44c5045762768fe5f5eaff6b04;hpb=003c363cf411bba62a6cabf90067f129c07ee3bd diff --git a/src/Standard/Standard_Type.cxx b/src/Standard/Standard_Type.cxx index 9516915110..b18c8b049a 100644 --- a/src/Standard/Standard_Type.cxx +++ b/src/Standard/Standard_Type.cxx @@ -98,6 +98,9 @@ namespace { static registry_type theRegistry; return theRegistry; } + + // To initialize theRegistry map as soon as possible to be destoryed the latest + Handle(Standard_Type) theType = STANDARD_TYPE(Standard_Transient); } Standard_Type* Standard_Type::Register (const char* theSystemName, const char* theName,