From: tajchman Date: Fri, 8 Oct 2010 09:20:44 +0000 (+0000) Subject: Remove un-necessary Register() calls X-Git-Tag: V5_1_5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bde4ca3da6c614003a6e5b9fffe614386bd7bca6;p=tools%2Fhxx2salome.git Remove un-necessary Register() calls Adapt to new server memory management policy for GenericObjs --- diff --git a/scripts/parse3.awk b/scripts/parse3.awk index fed2e2a..0c5c560 100644 --- a/scripts/parse3.awk +++ b/scripts/parse3.awk @@ -183,12 +183,8 @@ BEGIN { # "\tstd::vector _%s(_%s_value,_%s_value+_%s_size);\n\tdelete [] _%s_value;" cpp_impl_a["std::vector*&"]="\tstd::vector* _%s;\n" cpp_impl_a["const ParaMEDMEM::MEDCouplingFieldDouble*"]=\ - "\tSALOME_MED::MEDCouplingFieldDoubleCorbaInterface::_duplicate(%s);\n"\ - "\t%s->Register();\n"\ "\tParaMEDMEM::MEDCouplingFieldDouble* _%s=ParaMEDMEM::MEDCouplingFieldDoubleClient::New(%s);\n" cpp_impl_a["const ParaMEDMEM::MEDCouplingFieldDouble&"]=\ - "\tSALOME_MED::MEDCouplingFieldDoubleCorbaInterface::_duplicate(%s);\n"\ - "\t%s->Register();\n"\ "\tParaMEDMEM::MEDCouplingFieldDouble* __%s=ParaMEDMEM::MEDCouplingFieldDoubleClient::New(%s);\n"\ "\tParaMEDMEM::MEDCouplingFieldDouble& _%s=*__%s;\n" cpp_impl_a["ParaMEDMEM::MEDCouplingFieldDouble*&"]="\tParaMEDMEM::MEDCouplingFieldDouble* _%s;\n"