[poincare] Escape trivial case

This commit is contained in:
Léa Saviot
2018-07-25 17:03:13 +02:00
parent 2e8c7dee92
commit e064eec319

View File

@@ -197,6 +197,9 @@ public:
}
void replaceWithAllocationFailure() {
if (isAllocationFailure()) {
return;
}
assert(isDefined());
TreeReference<TreeNode> p = parent();
bool hasParent = p.isDefined();