Commit 7e873868 authored by Kirill Terekhov's avatar Kirill Terekhov
Browse files

Merge branch 'master' of https://github.com/INMOST-DEV/INMOST

parents c0f29a52 9b8115f2
...@@ -1746,11 +1746,13 @@ namespace INMOST ...@@ -1746,11 +1746,13 @@ namespace INMOST
Element::adj_type & lc = m->LowConn(GetHandle()); Element::adj_type & lc = m->LowConn(GetHandle());
Element::adj_type & hc = m->HighConn(GetHandle()); Element::adj_type & hc = m->HighConn(GetHandle());
HandleType hchild = hChild(hc), nchild; HandleType hchild = hChild(hc), nchild;
hChild(hc) = InvalidHandle();
while(hchild != InvalidHandle()) while(hchild != InvalidHandle())
{ {
Element::adj_type & chc = m->HighConn(hchild); Element::adj_type & chc = m->HighConn(hchild);
hParent(chc) = InvalidHandle(); hParent(chc) = InvalidHandle();
nchild = hSibling(chc); nchild = hSibling(chc);
hSibling(chc) = InvalidHandle();
ElementSet(m,hchild).DeleteSetTree(); ElementSet(m,hchild).DeleteSetTree();
hchild = nchild; hchild = nchild;
} }
......
Markdown is supported
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