Salome HOME
Some factorization before integration of ParaMEDMEM into medcoupling python module
[tools/medcoupling.git] / src / MEDCoupling / MCAuto.hxx
index 0fd3a97af004cee4ae4de7c19dbc9aec6509ea26..06f728620b0bc836c2dbe4f7631c21d5e80f5ff1 100644 (file)
@@ -85,6 +85,7 @@ namespace MEDCoupling
   {
   public:
     MCConstAuto(const MCConstAuto& other):_ptr(0) { referPtr(other._ptr); }
+    MCConstAuto(const typename MEDCoupling::MCAuto<T> & other):_ptr(0) { referPtr( (const T*) other); }
     MCConstAuto(const T *ptr=0):_ptr(ptr) { }
     ~MCConstAuto() { destroyPtr(); }
     bool isNull() const { return _ptr==0; }