From: ageay Date: Thu, 4 Apr 2013 11:10:21 +0000 (+0000) Subject: Put DataArray destructor protected. X-Git-Tag: V6_main_FINAL~209 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1ed3072a08fd14e3b0bb0763cf0e9f3e4462bb9b;p=tools%2Fmedcoupling.git Put DataArray destructor protected. --- diff --git a/src/MEDCoupling/MEDCouplingMemArray.hxx b/src/MEDCoupling/MEDCouplingMemArray.hxx index 89f35281c..f4c74dc2b 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.hxx +++ b/src/MEDCoupling/MEDCouplingMemArray.hxx @@ -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);