From 95df0ea73e083857d6bbec4df043e03d7034a05e Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 9 Oct 2019 09:29:53 +0200 Subject: [PATCH] Explicit capture in lambda (due to MSVC compile problems) --- libsrc/meshing/improve2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/improve2.cpp b/libsrc/meshing/improve2.cpp index 462fee8c..82215d2d 100644 --- a/libsrc/meshing/improve2.cpp +++ b/libsrc/meshing/improve2.cpp @@ -280,7 +280,7 @@ namespace netgen } }); - ParallelForRange( Range(seia), [&] (auto myrange) + ParallelForRange( Range(seia), [&pdef, &neighbors, &mesh, &seia, &elements_on_node] (auto myrange) { for (auto i : myrange) {