Salome HOME
MEDCoupling API change - stage #1
[tools/medcoupling.git] / src / RENUMBER / RENUMBER_BOOSTRenumbering.cxx
index 99c225ec59b559b7143eb1fff60eefb2a0e874cb..9dbc517a10365c48ac3fa9e3d02613e38033c2e4 100644 (file)
@@ -20,7 +20,7 @@
 #include "RENUMBER_BOOSTRenumbering.hxx"
 
 #include "MEDCouplingMemArray.hxx"
-#include "MEDCouplingAutoRefCountObjectPtr.hxx"
+#include "MCAuto.hxx"
 
 #include <boost/config.hpp>
 #include <boost/graph/adjacency_list.hpp>
@@ -30,7 +30,7 @@
 
 void BOOSTRenumbering::renumber(const int *graph, const int *index_graph, int nbCell, MEDCoupling::DataArrayInt *&iperm, MEDCoupling::DataArrayInt *&perm)
 {
-  MEDCoupling::MEDCouplingAutoRefCountObjectPtr<MEDCoupling::DataArrayInt> out0(MEDCoupling::DataArrayInt::New()),out1(MEDCoupling::DataArrayInt::New());
+  MEDCoupling::MCAuto<MEDCoupling::DataArrayInt> out0(MEDCoupling::DataArrayInt::New()),out1(MEDCoupling::DataArrayInt::New());
   out0->alloc(nbCell,1); out1->alloc(nbCell,1);
   out0->fillWithZero(); out1->fillWithZero();
   //