From e1a143dc7ec7dbabf7172da8a6db17213cab9a02 Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Fri, 28 Apr 2023 09:35:00 +0200 Subject: [PATCH] fix msvc build again (reapply efee73553, upstreamed as 0c7b82a2e; reverts 8bf8ddb05) C:/src/OSGeo4W/src/qgis-dev/qgis/external/pdal_wrench/utils.cpp(121): error C3493: 'CHUNK_SIZE' cannot be implicitly captured because no default capture mode has been specified --- external/pdal_wrench/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/pdal_wrench/utils.cpp b/external/pdal_wrench/utils.cpp index aa809a75c6f..53399c45ec1 100644 --- a/external/pdal_wrench/utils.cpp +++ b/external/pdal_wrench/utils.cpp @@ -116,7 +116,7 @@ void runPipelineParallel(point_count_t totalPoints, bool isStreaming, std::vecto PipelineManager* pipeline = pipelines[i].get(); if (isStreaming) { - p.add([pipeline]() { + p.add([pipeline, CHUNK_SIZE]() { MyTable table(CHUNK_SIZE); pipeline->executeStream(table);