diff --git a/src/common/Polyline.cc b/src/common/Polyline.cc index 76a117cf..836697da 100644 --- a/src/common/Polyline.cc +++ b/src/common/Polyline.cc @@ -107,7 +107,7 @@ struct SouthCleaner { bool operator()(PaperPoint& point) { return point.y_ < -89; } }; -struct LonFinder : std::unary_function { +struct LonFinder { LonFinder() {} bool operator()(PaperPoint& point) const { return (same(point.x_, -180.)); }