From 1ed3072a08fd14e3b0bb0763cf0e9f3e4462bb9b Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 4 Apr 2013 11:10:21 +0000 Subject: [PATCH] Put DataArray destructor protected. --- src/MEDCoupling/MEDCouplingMemArray.hxx | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2