Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix msvc build again (reapply efee735, upstreamed as 0c7b82a2e; reverts
8bf8ddb)

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
  • Loading branch information
jef-n committed Apr 28, 2023
1 parent 77920fe commit e1a143d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/pdal_wrench/utils.cpp
Expand Up @@ -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);
Expand Down

1 comment on commit e1a143d

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jef-n this has broken the qt6 ci build

Please sign in to comment.