From 80ece1a7ab8a93fb5dfa50d47387ae7c4a8f2a73 Mon Sep 17 00:00:00 2001 From: Jim Minter Date: Sat, 10 Feb 2024 07:34:22 -0600 Subject: [PATCH] Replace deprecated use of std::unary_function (#149) --- src/goesproc/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/goesproc/types.h b/src/goesproc/types.h index 4dd5e5d4..61164438 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)) ^