summaryrefslogtreecommitdiff
path: root/src/tasktree.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasktree.cc')
-rw-r--r--src/tasktree.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tasktree.cc b/src/tasktree.cc
index 3aa13f4..0df23d6 100644
--- a/src/tasktree.cc
+++ b/src/tasktree.cc
@@ -70,6 +70,8 @@ TaskIdList TaskTree::insertAsChild(taskid_t parentid, taskid_t id, task_t data)
}
finish:
+ printf("Child %d added to %d, affecting %d nodes\n",
+ id, parentid, affectedNodes.size());
return affectedNodes;
}
@@ -79,6 +81,18 @@ TaskIdList TaskTree::remove(taskid_t id)
WARN(tasktree, "Feature not implemneted yet\n");
TaskIdList affectedNodes;
return affectedNodes;
+
+ /*
+ try {
+ node_t* node = id2node.at(id);
+
+ }
+ catch (std::exception& e) {
+ throw std::exception();
+ }
+
+ return affectedNodes;
+ */
}
TaskIdList TaskTree::move(taskid_t id, taskid_t toid)