mirror of https://github.com/CGAL/cgal
incorrect simplification: empty() is not equivalent to size()>1
This commit is contained in:
parent
8bb442ae3b
commit
7a7f9be240
|
|
@ -385,7 +385,7 @@ public:
|
|||
// clear nodes
|
||||
void clear_nodes()
|
||||
{
|
||||
if( !empty() ) {
|
||||
if( size() > 1 ) {
|
||||
delete [] m_p_root_node;
|
||||
}
|
||||
m_p_root_node = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue