Replace nodes with AllocationFailures inside the tree when needed

This commit is contained in:
Léa Saviot
2018-06-29 14:21:10 +02:00
parent cb77fbe2ff
commit 2684b2f09f
15 changed files with 139 additions and 83 deletions

View File

@@ -1,8 +1,9 @@
#include "layout_node.h"
#include "allocation_failed_layout_node.h"
#include "layout_reference.h"
TreeNode * LayoutNode::failedAllocationNode() {
return LayoutRef::failedAllocationNode();
TreeNode * LayoutNode::staticFailedAllocationStaticNode() {
return LayoutRef::staticFailedAllocationStaticNode();
}
void LayoutNode::draw() {