From 90a0e3663875973909f77062dc274081bf32dc0d Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 9 Aug 2019 17:23:16 +0300 Subject: [PATCH 1/3] 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 { From fd310d27065dbd54e27c3319385e94bea1d3b51d Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 9 Aug 2019 17:23:16 +0300 Subject: [PATCH 2/3] Removed usage of std::unary_function for C++17 compliance --- include/boost/container_hash/hash.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/container_hash/hash.hpp b/include/boost/container_hash/hash.hpp index 4846b5e..6192295 100644 --- a/include/boost/container_hash/hash.hpp +++ b/include/boost/container_hash/hash.hpp @@ -119,7 +119,11 @@ namespace boost { namespace hash_detail { +<<<<<<< HEAD #if defined(_HAS_AUTO_PTR_ETC) && !_HAS_AUTO_PTR_ETC || defined(BOOST_NO_CXX98_FUNCTION_BASE) +======= +#if defined(BOOST_NO_CXX98_FUNCTION_BASE) +>>>>>>> Removed usage of std::unary_function for C++17 compliance template struct hash_base { From 5f858645a02713906f98edbf5def3ffa95664520 Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 9 Aug 2019 17:23:16 +0300 Subject: [PATCH 3/3] Removed usage of std::unary_function for C++17 compliance --- include/boost/container_hash/hash.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/boost/container_hash/hash.hpp b/include/boost/container_hash/hash.hpp index 6192295..7aac2fa 100644 --- a/include/boost/container_hash/hash.hpp +++ b/include/boost/container_hash/hash.hpp @@ -119,11 +119,7 @@ namespace boost { namespace hash_detail { -<<<<<<< HEAD -#if defined(_HAS_AUTO_PTR_ETC) && !_HAS_AUTO_PTR_ETC || defined(BOOST_NO_CXX98_FUNCTION_BASE) -======= #if defined(BOOST_NO_CXX98_FUNCTION_BASE) ->>>>>>> Removed usage of std::unary_function for C++17 compliance template struct hash_base {