mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
fixes for c++11 threads
This commit is contained in:
parent
fcac89f793
commit
5c22bd08c3
@ -2139,11 +2139,11 @@ int STLGeometry :: CheckGeometryOverlapping()
|
||||
|
||||
|
||||
{
|
||||
Array<int> inters;
|
||||
mutex inters_mutex;
|
||||
|
||||
ParallelFor( 1, GetNT()+1, [&] (int first, int next)
|
||||
{
|
||||
Array<int> inters;
|
||||
for (int i=first; i<next; i++) {
|
||||
const STLTriangle & tri = GetTriangle(i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user