Skip to content

Commit

Permalink
Merge pull request #52 from mapbox/tvn-unused-this-lamba-capture
Browse files Browse the repository at this point in the history
remove unused this from lamba capture
  • Loading branch information
tobrun authored May 24, 2017
2 parents 4ee76d2 + fe022a7 commit cf649db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mapbox/earcut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Earcut<N>::eliminateHoles(const Polygon& points, Node* outerNode) {
queue.push_back(getLeftmost(list));
}
}
std::sort(queue.begin(), queue.end(), [this](const Node* a, const Node* b) {
std::sort(queue.begin(), queue.end(), [](const Node* a, const Node* b) {
return a->x < b->x;
});

Expand Down

0 comments on commit cf649db

Please sign in to comment.