Skip to content

Commit

Permalink
Fix C++20 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Aug 28, 2024
1 parent 7917105 commit 0ab6194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/include/gdx/denseraster.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ class DenseRaster
v(v != nod) = value;
});
} else {
std::for_each(begin(), end(), [=](auto& v) {
std::for_each(begin(), end(), [this, value](auto& v) {
if (!is_nodata_value(v)) {
v = value;
}
Expand Down

0 comments on commit 0ab6194

Please sign in to comment.