]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Put DataArray destructor protected.
authorageay <ageay>
Thu, 4 Apr 2013 11:10:21 +0000 (11:10 +0000)
committerageay <ageay>
Thu, 4 Apr 2013 11:10:21 +0000 (11:10 +0000)
src/MEDCoupling/MEDCouplingMemArray.hxx

index 89f35281c76106d92000dca026d53f9a98d0a5c9..f4c74dc2b88c7df37062dcaffada8c81c56851e2 100644 (file)
@@ -142,6 +142,7 @@ namespace ParaMEDMEM
     MEDCOUPLING_EXPORT virtual void reprQuickOverviewData(std::ostream& stream, std::size_t maxNbOfByteInRepr) const throw(INTERP_KERNEL::Exception) = 0;
   protected:
     DataArray() { }
+    ~DataArray() { }
   protected:
     static void CheckValueInRange(int ref, int value, const char *msg) throw(INTERP_KERNEL::Exception);
     static void CheckValueInRangeEx(int value, int start, int end, const char *msg) throw(INTERP_KERNEL::Exception);