Remove odd check that should never be true

I think it was left over from the old grouped node implementation.
This commit is contained in:
Daniel James
2017-04-30 10:41:22 +01:00
parent 451d0f2fc5
commit c243895fc0

View File

@ -3885,7 +3885,7 @@ struct table : boost::unordered::detail::functions<typename Types::hasher,
n->reset_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;