Commit 379b078b authored by Dmitry Yu. Naumov's avatar Dmitry Yu. Naumov Committed by Dmitry Yu. Naumov
Browse files

[GL] Remove unnecessary set function used once.

parent c9a92d10
......@@ -64,7 +64,7 @@ void SimplePolygonTree::insertSimplePolygonTree(
if (nfound)
{
_children.push_back(polygon_hierarchy);
polygon_hierarchy->setParent(this);
polygon_hierarchy->_parent = this;
}
}
......
......@@ -73,12 +73,6 @@ protected:
* in the _node_polygon
*/
std::list<SimplePolygonTree*> _children;
private:
void setParent(SimplePolygonTree* parent)
{
_parent = parent;
}
};
/**
......
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