added takenode function to graph

This commit is contained in:
itsmattkc
2019-08-13 18:40:39 +10:00
parent 03a0c64e15
commit 737442e513
2 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -54,9 +54,9 @@ public:
void AddNodeWithDependencies(Node* node);
/**
* @brief Removes a Node from the graph and destroys it
* @brief Removes a Node from the graph BUT doesn't destroy it. Ownership is returned to the caller.
*/
void RemoveNode(Node* node);
void TakeNode(Node* node);
/**
* @brief Retrieve a complete list of the nodes belonging to this graph