Parallel loop for the statistics

This commit is contained in:
tamasmeszaros
2019-04-01 11:37:26 +02:00
parent e2334782e7
commit e58f974cf4
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);