diff --git a/include/boost/smart_ptr/detail/array_allocator.hpp b/include/boost/smart_ptr/detail/array_allocator.hpp index 3371545..8b682eb 100644 --- a/include/boost/smart_ptr/detail/array_allocator.hpp +++ b/include/boost/smart_ptr/detail/array_allocator.hpp @@ -46,16 +46,13 @@ namespace boost { #if !defined(BOOST_NO_CXX11_ALLOCATOR) typedef typename std::allocator_traits:: - template rebind_alloc::other YA; - + template rebind_alloc YA; typedef typename std::allocator_traits:: - template rebind_alloc::other CA; - + template rebind_alloc CA; typedef typename std::allocator_traits:: - template rebind_traits::other YT; - + template rebind_traits YT; typedef typename std::allocator_traits:: - template rebind_traits::other CT; + template rebind_traits CT; #else typedef typename A::template rebind::other YA; typedef typename A::template rebind::other CA; diff --git a/include/boost/smart_ptr/detail/array_deleter.hpp b/include/boost/smart_ptr/detail/array_deleter.hpp index 7d99795..529c112 100644 --- a/include/boost/smart_ptr/detail/array_deleter.hpp +++ b/include/boost/smart_ptr/detail/array_deleter.hpp @@ -90,10 +90,9 @@ namespace boost { private: #if !defined(BOOST_NO_CXX11_ALLOCATOR) typedef typename std::allocator_traits:: - template rebind_alloc::other TA; - + template rebind_alloc TA; typedef typename std::allocator_traits:: - template rebind_traits::other TT; + template rebind_traits TT; #endif void destroy(type*, std::size_t, boost::true_type) {