X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingMemArrayChar.cxx;h=dd029ed862240a10b5c92fb014720c389dcc07d3;hb=6be7c1a24c8879945e9451245a92d66d3aa091f8;hp=d363454bb77108e96ae37a6ab66a6d610f70d059;hpb=c6fa7c58b5a305b1752e788b930c68cedac29b64;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingMemArrayChar.cxx b/src/MEDCoupling/MEDCouplingMemArrayChar.cxx index d363454bb..dd029ed86 100644 --- a/src/MEDCoupling/MEDCouplingMemArrayChar.cxx +++ b/src/MEDCoupling/MEDCouplingMemArrayChar.cxx @@ -60,10 +60,10 @@ void DataArrayChar::desallocate() throw(INTERP_KERNEL::Exception) _mem.destroy(); } -std::size_t DataArrayChar::getHeapMemorySize() const +std::size_t DataArrayChar::getHeapMemorySizeWithoutChildren() const { - std::size_t sz=_mem.getNbOfElemAllocated(); - return DataArray::getHeapMemorySize()+sz; + std::size_t sz(_mem.getNbOfElemAllocated()); + return DataArray::getHeapMemorySizeWithoutChildren()+sz; } /*! @@ -204,7 +204,7 @@ char DataArrayChar::popBackSilent() throw(INTERP_KERNEL::Exception) /*! * This method \b do \b not modify content of \a this. It only modify its memory footprint if the allocated memory is to high regarding real data to store. * - * \sa DataArrayChar::getHeapMemorySize, DataArrayChar::reserve + * \sa DataArrayChar::getHeapMemorySizeWithoutChildren, DataArrayChar::reserve */ void DataArrayChar::pack() const throw(INTERP_KERNEL::Exception) {