Salome HOME
projects
/
tools
/
medcoupling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Little refactoring of progeny mechanism to avoid if.
[tools/medcoupling.git]
/
src
/
MEDCoupling
/
MEDCouplingFieldDouble.cxx
diff --git
a/src/MEDCoupling/MEDCouplingFieldDouble.cxx
b/src/MEDCoupling/MEDCouplingFieldDouble.cxx
index ce42c398f6b2382325a8aa6a6f8f3773254802c1..f144ff7856e6c21dc2d2d2dda3f77ed7d3ac2785 100644
(file)
--- a/
src/MEDCoupling/MEDCouplingFieldDouble.cxx
+++ b/
src/MEDCoupling/MEDCouplingFieldDouble.cxx
@@
-1939,12
+1939,12
@@
std::size_t MEDCouplingFieldDouble::getHeapMemorySizeWithoutChildren() const
return MEDCouplingField::getHeapMemorySizeWithoutChildren();
}
return MEDCouplingField::getHeapMemorySizeWithoutChildren();
}
-std::vector<const BigMemoryObject *> MEDCouplingFieldDouble::getDirectChildren() const
+std::vector<const BigMemoryObject *> MEDCouplingFieldDouble::getDirectChildren
WithNull
() const
{
{
- std::vector<const BigMemoryObject *> ret(MEDCouplingField::getDirectChildren());
+ std::vector<const BigMemoryObject *> ret(MEDCouplingField::getDirectChildren
WithNull
());
if(_time_discr)
{
if(_time_discr)
{
- std::vector<const BigMemoryObject *> ret2(_time_discr->getDirectChildren());
+ std::vector<const BigMemoryObject *> ret2(_time_discr->getDirectChildren
WithNull
());
ret.insert(ret.end(),ret2.begin(),ret2.end());
}
return ret;
ret.insert(ret.end(),ret2.begin(),ret2.end());
}
return ret;