mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Linux fix
p4#: 21418
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user