ok, fixed this problem with typedefs in gcc-0.92 (strange....)
This commit is contained in:
parent
4078394748
commit
ca46a3651b
1 changed files with 2 additions and 9 deletions
|
|
@ -28,16 +28,9 @@ public :
|
|||
if (_size < 1)
|
||||
return;
|
||||
|
||||
if (size() > _size)
|
||||
while (size() > _size)
|
||||
{
|
||||
Subtree* sub = &operator[](size() - 2); // prune tree
|
||||
|
||||
while (sub->size() > _size)
|
||||
{
|
||||
sub = &sub->operator[](0);
|
||||
}
|
||||
|
||||
back() = *sub;
|
||||
back() = operator[](size()-2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue