diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index fbd297a0..61cefa83 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -186,7 +186,7 @@ template struct table; template struct bucket; struct ptr_bucket; -template struct unique_node; +template struct node; template struct ptr_node; template struct node_algo; @@ -4376,10 +4376,10 @@ template struct map_extractor // Unique nodes template -struct unique_node : boost::unordered::detail::value_base +struct node : boost::unordered::detail::value_base { typedef typename ::boost::unordered::detail::rebind_wrap >::type allocator; + node >::type allocator; typedef typename ::boost::unordered::detail::allocator_traits< allocator>::pointer node_pointer; typedef node_pointer link_pointer; @@ -4391,12 +4391,12 @@ struct unique_node : boost::unordered::detail::value_base link_pointer next_; std::size_t hash_; - unique_node() : next_(), hash_(0) {} + node() : next_(), hash_(0) {} void init(node_pointer) {} private: - unique_node& operator=(unique_node const&); + node& operator=(node const&); }; template struct ptr_node : boost::unordered::detail::ptr_bucket @@ -4509,7 +4509,7 @@ template struct node_algo template struct pick_node2 { - typedef boost::unordered::detail::unique_node node; + typedef boost::unordered::detail::node node; typedef typename boost::unordered::detail::allocator_traits< typename boost::unordered::detail::rebind_wrap::type>::pointer