Skip to content
Snippets Groups Projects
Commit da5eb4e6 authored by Dmitri Naumov's avatar Dmitri Naumov Committed by Tom Fischer
Browse files

[GL] QuadTree; Simplify if-conditions; bool return

parent fd7137ca
No related branches found
No related tags found
No related merge requests found
......@@ -344,11 +344,7 @@ private:
bool isChild (QuadTree<POINT> const* const tree, Quadrant quadrant) const
{
if (_children[static_cast<int>(quadrant)] == tree)
{
return true;
}
return false;
return _children[static_cast<int>(quadrant)] == tree;
}
QuadTree<POINT>* getNorthNeighbor () const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment