Salome HOME
Implementation of equivalences in MEDFileMesh.
[tools/medcoupling.git] / src / MEDLoader / MEDFileData.cxx
index b9a6a20bad281c7a53ebfb9860a87ff28dfeb965..ca2b84aa3eab6ead493bfdf063d49435e13cdae8 100644 (file)
@@ -43,7 +43,7 @@ MEDFileData *MEDFileData::deepCpy() const
   MEDCouplingAutoRefCountObjectPtr<MEDFileParameters> params;
   if((const MEDFileParameters *)_params)
     params=_params->deepCpy();
-  MEDCouplingAutoRefCountObjectPtr<MEDFileData> ret=MEDFileData::New();
+  MEDCouplingAutoRefCountObjectPtr<MEDFileData> ret(MEDFileData::New());
   ret->_fields=fields; ret->_meshes=meshes; ret->_params=params;
   return ret.retn();
 }