]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
Remove un-necessary Register() calls V5_1_5_BR V5_1_5 V5_1_5_patch02 V5_1_5rc1 V5_1_5rc2 V5_1_5rc3
authortajchman <tajchman>
Fri, 8 Oct 2010 09:20:44 +0000 (09:20 +0000)
committertajchman <tajchman>
Fri, 8 Oct 2010 09:20:44 +0000 (09:20 +0000)
Adapt to new server memory management policy for GenericObjs

scripts/parse3.awk

index fed2e2a686f5d668f42013e6543c9db49bd00499..0c5c560eb379630325b06eef2af83fbc93017ef1 100644 (file)
@@ -183,12 +183,8 @@ BEGIN {
 #             "\tstd::vector<int> _%s(_%s_value,_%s_value+_%s_size);\n\tdelete [] _%s_value;"
   cpp_impl_a["std::vector<int>*&"]="\tstd::vector<int>* _%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"