Skip to content
Snippets Groups Projects
Commit ed80e702 authored by Tom Fischer's avatar Tom Fischer
Browse files

[GL] SimplePolygonTree: C++11 for readability.

parent 212205d6
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,8 @@ SimplePolygonTree::SimplePolygonTree(Polygon * polygon, SimplePolygonTree * pare
SimplePolygonTree::~SimplePolygonTree()
{
for (std::list<SimplePolygonTree*>::const_iterator it (_childs.begin());
it != _childs.end(); ++it) {
delete *it;
for (auto * child : _childs) {
delete child;
}
}
......
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