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 Apr 3, 2023
1 parent f05a2c0 commit 422bf05
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 422bf05

Please sign in to comment.