quad_tree - pass node by *&

This commit is contained in:
artemp 2015-10-05 11:48:39 +01:00
parent 178e39e19a
commit dfba56b23b

View File

@ -253,7 +253,7 @@ private:
ext[3]=box2d<double>(hix - width * ratio_,hiy - height*ratio_,hix,hiy);
}
void trim_tree(node * n)
void trim_tree(node *& n)
{
if (n)
{