diff --git a/include/boost/unordered/detail/hash_table_impl.hpp b/include/boost/unordered/detail/hash_table_impl.hpp index 958581a2..9d4edf95 100644 --- a/include/boost/unordered/detail/hash_table_impl.hpp +++ b/include/boost/unordered/detail/hash_table_impl.hpp @@ -434,7 +434,6 @@ namespace boost { return buckets_ + static_cast(bucket_count_); } - iterator_base begin() const { return size_ @@ -449,7 +448,7 @@ namespace boost { link_ptr begin(size_type n) const { - return buckets_[n].next_; + return (buckets_ + static_cast(n))->next_; } link_ptr end(size_type) const