diff --git a/include/boost/unordered/detail/allocator_helpers.hpp b/include/boost/unordered/detail/allocator_helpers.hpp index 6b114424..025b3959 100644 --- a/include/boost/unordered/detail/allocator_helpers.hpp +++ b/include/boost/unordered/detail/allocator_helpers.hpp @@ -22,15 +22,6 @@ #include #include -#if (defined(BOOST_NO_STD_ALLOCATOR) || defined(BOOST_DINKUMWARE_STDLIB)) \ - && !defined(__BORLANDC__) -# define BOOST_UNORDERED_USE_ALLOCATOR_UTILITIES -#endif - -#if defined(BOOST_UNORDERED_USE_ALLOCATOR_UTILITIES) -# include -#endif - #if BOOST_UNORDERED_USE_ALLOCATOR_TRAITS # include #endif @@ -87,17 +78,12 @@ namespace boost { namespace unordered { namespace detail { // Rebind allocators. For some problematic libraries, use rebind_to // from . -# if defined(BOOST_UNORDERED_USE_ALLOCATOR_UTILITIES) - template - struct rebind_wrap : ::boost::detail::allocator::rebind_to {}; -# else template struct rebind_wrap { typedef typename Alloc::BOOST_NESTED_TEMPLATE rebind::other type; }; -# endif template typename boost::add_lvalue_reference::type make(); struct choice9 { typedef char (&type)[9]; }; @@ -477,8 +463,4 @@ namespace boost { namespace unordered { namespace detail { }; }}} -#if defined(BOOST_UNORDERED_USE_ALLOCATOR_UTILITIES) -# undef BOOST_UNORDERED_USE_ALLOCATOR_UTILITIES -#endif - #endif