Parallel loop for the statistics

This commit is contained in:
tamasmeszaros 2019-04-01 11:37:26 +02:00
parent 6593421802
commit 4eb5d91a8f
2 changed files with 54 additions and 44 deletions

View file

@ -347,9 +347,7 @@ inline std::vector<PolygonImpl> clipper_execute(
auto traverse = [&processPoly] (ClipperLib::PolyNode *node)
{
for(auto ch : node->Childs) {
processPoly(ch);
}
for(auto ch : node->Childs) processPoly(ch);
};
traverse(&result);