I missed an explicit conversion when accessing a bucket.

[SVN r42406]
This commit is contained in:
Daniel James
2008-01-01 21:28:25 +00:00
parent e91f6d467b
commit 3c316154a4

View File

@@ -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