From d88c41e68113ce1ab26c4b33171250acd36ae637 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 16 Apr 2017 08:37:17 +0100 Subject: [PATCH] Remove unnecessary reference to deprecated std::unary/binary_function in test. This test will only fail for obsolete versions of Metrowerks compilers which are probably no longer supported anyway. --- test/boost_no_ptr_mem_const.ipp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/boost_no_ptr_mem_const.ipp b/test/boost_no_ptr_mem_const.ipp index ef6dda5c..f1069669 100644 --- a/test/boost_no_ptr_mem_const.ipp +++ b/test/boost_no_ptr_mem_const.ipp @@ -16,12 +16,10 @@ // of these in overloaded function templates. // See boost/functional.hpp for example. -#include - namespace boost_no_pointer_to_member_const{ template -class const_mem_fun_t : public std::unary_function +class const_mem_fun_t { public: explicit const_mem_fun_t(S (T::*p)() const) @@ -37,7 +35,7 @@ private: }; template -class const_mem_fun1_t : public std::binary_function +class const_mem_fun1_t { public: explicit const_mem_fun1_t(S (T::*p)(A) const)