Salome HOME
projects
/
modules
/
med.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.
[modules/med.git]
/
src
/
MEDCoupling
/
MEDCouplingCurveLinearMesh.cxx
diff --git
a/src/MEDCoupling/MEDCouplingCurveLinearMesh.cxx
b/src/MEDCoupling/MEDCouplingCurveLinearMesh.cxx
index f54754b37199370f3e079fb5ceab5799b2c5fe37..60ab76f40d4f0af01563998040622c31a7b6a912 100644
(file)
--- a/
src/MEDCoupling/MEDCouplingCurveLinearMesh.cxx
+++ b/
src/MEDCoupling/MEDCouplingCurveLinearMesh.cxx
@@
-87,11
+87,10
@@
std::size_t MEDCouplingCurveLinearMesh::getHeapMemorySizeWithoutChildren() const
return ret;
}
return ret;
}
-std::vector<const BigMemoryObject *> MEDCouplingCurveLinearMesh::getDirectChildren() const
+std::vector<const BigMemoryObject *> MEDCouplingCurveLinearMesh::getDirectChildren
WithNull
() const
{
std::vector<const BigMemoryObject *> ret;
{
std::vector<const BigMemoryObject *> ret;
- if((const DataArrayDouble *)_coords)
- ret.push_back((const DataArrayDouble *)_coords);
+ ret.push_back((const DataArrayDouble *)_coords);
return ret;
}
return ret;
}