diff --git a/src/goesproc/types.h b/src/goesproc/types.h index 4dd5e5d..6116443 100644 --- a/src/goesproc/types.h +++ b/src/goesproc/types.h @@ -41,7 +41,7 @@ struct Channel { using SegmentKey = std::tuple; // Corresponding hash function -struct SegmentKeyHash : public std::unary_function { +struct SegmentKeyHash : public std::function { std::size_t operator()(const SegmentKey& k) const { return std::hash()(std::get<0>(k)) ^