mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
I missed an explicit conversion when accessing a bucket.
[SVN r42406]
This commit is contained in:
@@ -434,7 +434,6 @@ namespace boost {
|
||||
return buckets_ + static_cast<difference_type>(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<difference_type>(n))->next_;
|
||||
}
|
||||
|
||||
link_ptr end(size_type) const
|
||||
|
Reference in New Issue
Block a user