diff --git a/include/boost/unordered/detail/buckets.hpp b/include/boost/unordered/detail/buckets.hpp index 98896ede..14314398 100644 --- a/include/boost/unordered/detail/buckets.hpp +++ b/include/boost/unordered/detail/buckets.hpp @@ -487,6 +487,7 @@ namespace boost { namespace unordered { namespace detail { assign_impl(v); node_pointer p = nodes_; nodes_ = static_cast(p->next_); + p->init(static_cast(p)); p->next_ = link_pointer(); return p; } @@ -502,6 +503,7 @@ namespace boost { namespace unordered { namespace detail { move_assign_impl(v); node_pointer p = nodes_; nodes_ = static_cast(p->next_); + p->init(static_cast(p)); p->next_ = link_pointer(); return p; }