From dccd9eb30508acc3358f76a149537243b847374a Mon Sep 17 00:00:00 2001 From: Conrad Poelman Date: Thu, 9 Apr 2020 03:56:49 -0400 Subject: [PATCH] Remove std::unary_function & std::binary_function These functions have been removed from C++ and inheriting from them was unneeded. --- include/pion/hash_map.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/pion/hash_map.hpp b/include/pion/hash_map.hpp index 0f4fb9fdf..058b361e6 100644 --- a/include/pion/hash_map.hpp +++ b/include/pion/hash_map.hpp @@ -74,7 +74,6 @@ namespace pion { // begin namespace pion /// copied from boost.unordered hash_equality documentation /// http://www.boost.org/doc/libs/1_50_0/doc/html/unordered/hash_equality.html struct iequal_to - : std::binary_function { bool operator()(std::string const& x, std::string const& y) const @@ -87,7 +86,6 @@ namespace pion { // begin namespace pion /// copied from boost.unordered hash_equality documentation /// http://www.boost.org/doc/libs/1_50_0/doc/html/unordered/hash_equality.html struct ihash - : std::unary_function { std::size_t operator()(std::string const& x) const {