unary_function is deprecated from C++11 onwards.

See https://github.com/boostorg/container_hash/issues/22.
This commit is contained in:
jzmaddock
2022-05-12 12:32:08 +01:00
parent a7cfad38ea
commit 26a8d38031

View File

@ -389,9 +389,9 @@ extern "C" char *gets (char *__s);
#if BOOST_LIBSTDCXX_VERSION >= 120000
//
// Unary function is now deprecated in C++17 and later:
// Unary function is now deprecated in C++11 and later:
//
#if __cplusplus >= 201703L
#if __cplusplus >= 201103L
#define BOOST_NO_CXX98_FUNCTION_BASE
#endif
#endif