X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FMEDFileData.cxx;h=ca2b84aa3eab6ead493bfdf063d49435e13cdae8;hb=8f82f89e0b819c02023d86dc86f8a18e24f645b6;hp=b9a6a20bad281c7a53ebfb9860a87ff28dfeb965;hpb=3c911ce36f5caa779ea60042e738fa57671a44b1;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/MEDFileData.cxx b/src/MEDLoader/MEDFileData.cxx index b9a6a20ba..ca2b84aa3 100644 --- a/src/MEDLoader/MEDFileData.cxx +++ b/src/MEDLoader/MEDFileData.cxx @@ -43,7 +43,7 @@ MEDFileData *MEDFileData::deepCpy() const MEDCouplingAutoRefCountObjectPtr params; if((const MEDFileParameters *)_params) params=_params->deepCpy(); - MEDCouplingAutoRefCountObjectPtr ret=MEDFileData::New(); + MEDCouplingAutoRefCountObjectPtr ret(MEDFileData::New()); ret->_fields=fields; ret->_meshes=meshes; ret->_params=params; return ret.retn(); }