Allocation failure fix and test

This commit is contained in:
Léa Saviot
2018-06-28 14:50:45 +02:00
parent c208da2f90
commit 46d56ade21
17 changed files with 151 additions and 28 deletions

View File

@@ -1,4 +1,9 @@
#include "layout_node.h"
#include "layout_reference.h"
TreeNode * LayoutNode::failedAllocationNode() {
return LayoutRef::failedAllocationNode();
}
void LayoutNode::draw() {
for (LayoutNode * child : children()) {