Skip to content

Commit

Permalink
Pass shape index by copy not reference
Browse files Browse the repository at this point in the history
  • Loading branch information
systemed committed Jan 7, 2024
1 parent a600524 commit fcddc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shp_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void ShpProcessor::read(class LayerDef &layer, uint layerNum)
continue;
}

boost::asio::post(pool, [&, shape]() {
boost::asio::post(pool, [&, i, shape]() {
// process attributes
string name;
bool hasName = false;
Expand Down

0 comments on commit fcddc4a

Please sign in to comment.