mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
Linux fix
p4#: 21418
This commit is contained in:
parent
c0bfc9bbe1
commit
9c8c12955b
@ -258,10 +258,10 @@ void PdmObject::firstAncestorOfType(T*& ancestor) const
|
||||
|
||||
while (parents.size() > 0)
|
||||
{
|
||||
CVF_ASSERT(parents.size() == 1);
|
||||
assert(parents.size() == 1);
|
||||
|
||||
PdmObject* firstParent = parents[0];
|
||||
CVF_ASSERT(firstParent);
|
||||
assert(firstParent);
|
||||
|
||||
T* objectOfType = dynamic_cast<T*>(firstParent);
|
||||
if (objectOfType)
|
||||
|
Loading…
Reference in New Issue
Block a user