Skip to content

Commit

Permalink
Remove use of deprecated unary_function [MAGP-1356]
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Feb 5, 2024
1 parent 3631c96 commit 56d635c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/Polyline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct SouthCleaner {

bool operator()(PaperPoint& point) { return point.y_ < -89; }
};
struct LonFinder : std::unary_function<PaperPoint, bool> {
struct LonFinder {
LonFinder() {}

bool operator()(PaperPoint& point) const { return (same(point.x_, -180.)); }
Expand Down

0 comments on commit 56d635c

Please sign in to comment.