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
This commit is contained in:
Juergen E. Fischer 2023-04-28 09:35:00 +02:00
parent 77920fec6f
commit e1a143dc7e

View File

@ -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);