diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 23098b43..09aad21e 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -3885,7 +3885,7 @@ struct table : boost::unordered::detail::functionsreset_first_in_group(); n->next_ = hint->next_; hint->next_ = n; - if (n->next_ != hint && n->next_) { + if (n->next_) { std::size_t next_bucket = this->node_bucket(next_node(n)); if (next_bucket != this->node_bucket(n)) { this->get_bucket(next_bucket)->next_ = n;