Delete the only node from a BST
<p>My BST have only ONE node. I wrote a code to delete that node but it's still there. Just like it hasn't been... updated. Here is my simple code, just to test the case</p>

<pre><code>void Delete(BSTree* tree, int&amp; key)
{
    if (key == tree-&gt;key)
        tree=NULL;
}
</code></pre>

<p>And my BSTree class doesn't have a parrent part. Just the value and the left and right pointer. What is wrong with my code? Thank you!</p>
