From 991cfaafe309b1499ad9ce7c63ebe9cd3357f33e Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 20 Dec 2018 13:56:39 +0100 Subject: [PATCH] Ready for integration --- src/MEDCoupling/MEDCouplingMemArray.txx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/MEDCoupling/MEDCouplingMemArray.txx b/src/MEDCoupling/MEDCouplingMemArray.txx index 47e6961fa..c8ea9370f 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.txx +++ b/src/MEDCoupling/MEDCouplingMemArray.txx @@ -601,7 +601,7 @@ namespace MEDCoupling { std::size_t sz(_mem.getNbOfElemAllocated()); sz*=sizeof(T); - return this->getHeapMemorySizeWithoutChildren()+sz; + return DataArray::getHeapMemorySizeWithoutChildren()+sz; } /*! @@ -3351,7 +3351,7 @@ struct NotInRange template void DataArrayTemplateClassic::reprWithoutNameStream(std::ostream& stream) const { - this->reprWithoutNameStream(stream); + DataArray::reprWithoutNameStream(stream); ImplReprTraits::SetPrecision(stream); this->_mem.repr(this->getNumberOfComponents(),stream); } @@ -3359,7 +3359,7 @@ struct NotInRange template void DataArrayTemplateClassic::reprZipWithoutNameStream(std::ostream& stream) const { - this->reprWithoutNameStream(stream); + DataArray::reprWithoutNameStream(stream); ImplReprTraits::SetPrecision(stream); this->_mem.reprZip(this->getNumberOfComponents(),stream); } @@ -3367,7 +3367,7 @@ struct NotInRange template void DataArrayTemplateClassic::reprNotTooLongWithoutNameStream(std::ostream& stream) const { - this->reprWithoutNameStream(stream); + DataArray::reprWithoutNameStream(stream); ImplReprTraits::SetPrecision(stream); this->_mem.reprNotTooLong(this->getNumberOfComponents(),stream); } @@ -3469,7 +3469,7 @@ struct NotInRange template typename Traits::ArrayType *DataArrayDiscrete::New() { - return nullptr;//new typename Traits::ArrayType; + return new typename Traits::ArrayType; } /*! -- 2.39.2