Fixed test build fail.
--HG-- branch : develop
This commit is contained in:
parent
40103a0132
commit
d6de99babb
|
@ -2138,7 +2138,7 @@ void VPattern::GarbageCollector()
|
||||||
if (inUse == NodeUsage::InUse)
|
if (inUse == NodeUsage::InUse)
|
||||||
{ // It is dangerous to leave object with attribute 'inUse'
|
{ // It is dangerous to leave object with attribute 'inUse'
|
||||||
// Each parse should confirm this status.
|
// Each parse should confirm this status.
|
||||||
modNode.removeAttribute(VAbstractNode::AttrInUse);
|
SetParametrUsage(modNode, VAbstractNode::AttrInUse, NodeUsage::NotInUse);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ // Parent was deleted. We do not need this object anymore
|
{ // Parent was deleted. We do not need this object anymore
|
||||||
|
@ -2146,8 +2146,8 @@ void VPattern::GarbageCollector()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ // Last parse did not confirm use of an object
|
{ // Each parse should confirm his status.
|
||||||
modElement.removeChild(modNode); // was not used
|
SetParametrUsage(modNode, VAbstractNode::AttrInUse, NodeUsage::NotInUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
modNode = nextSibling;
|
modNode = nextSibling;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user