use the member var _tree
This commit is contained in:
parent
35c3e996b5
commit
1369b32df8
1 changed files with 3 additions and 3 deletions
|
@ -153,12 +153,12 @@ void OBBindings::assimilate(BindingTree *node)
|
||||||
{
|
{
|
||||||
BindingTree *a, *b, *tmp, *last;
|
BindingTree *a, *b, *tmp, *last;
|
||||||
|
|
||||||
if (!parent->first_child) {
|
if (!_tree.first_child) {
|
||||||
// there are no nodes at this level yet
|
// there are no nodes at this level yet
|
||||||
parent->first_child = node;
|
_tree.first_child = node;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
a = parent->first_child;
|
a = _tree.first_child;
|
||||||
last = a;
|
last = a;
|
||||||
b = node;
|
b = node;
|
||||||
while (a->first_child) {
|
while (a->first_child) {
|
||||||
|
|
Loading…
Reference in a new issue