From 90a0e3663875973909f77062dc274081bf32dc0d Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 9 Aug 2019 17:23:16 +0300 Subject: [PATCH] Removed usage of std::unary_function for C++17 compliance --- include/boost/container_hash/hash.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container_hash/hash.hpp b/include/boost/container_hash/hash.hpp index fd814a2..4846b5e 100644 --- a/include/boost/container_hash/hash.hpp +++ b/include/boost/container_hash/hash.hpp @@ -119,7 +119,7 @@ namespace boost { namespace hash_detail { -#if defined(_HAS_AUTO_PTR_ETC) && !_HAS_AUTO_PTR_ETC +#if defined(_HAS_AUTO_PTR_ETC) && !_HAS_AUTO_PTR_ETC || defined(BOOST_NO_CXX98_FUNCTION_BASE) template struct hash_base {