Commit 2098578a authored by Kevin Coulomb's avatar Kevin Coulomb
Browse files

Petites modifs

parent 6f0796c1
......@@ -92,7 +92,7 @@ public:
* \brief Destructor
*/
~BinaryTree() {
// TODO: Delete all nodes
delete _root;
}
/*!
......
......@@ -48,7 +48,9 @@ public:
* \brief Destructor
*/
~Node() {
// TODO: Delete _element?
delete _left_child;
delete _right_child;
delete _element;
}
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment