return MEDCouplingMesh::getHeapMemorySizeWithoutChildren();
}
-std::vector<RefCountObject *> MEDCouplingExtrudedMesh::getDirectChildren() const
+std::vector<const BigMemoryObject *> MEDCouplingExtrudedMesh::getDirectChildren() const
{
- std::vector<RefCountObject *> ret;
+ std::vector<const BigMemoryObject *> ret;
if(_mesh2D)
- ret.push_back(const_cast<MEDCouplingUMesh *>(_mesh2D));
+ ret.push_back(_mesh2D);
if(_mesh1D)
- ret.push_back(const_cast<MEDCouplingUMesh *>(_mesh1D));
+ ret.push_back(_mesh1D);
if(_mesh3D_ids)
- ret.push_back(const_cast<DataArrayInt *>(_mesh3D_ids));
+ ret.push_back(_mesh3D_ids);
return ret;
}