forked from boostorg/unordered
Unordered: Cleaning up a bit.
[SVN r80388]
This commit is contained in:
@@ -231,6 +231,8 @@ namespace boost { namespace unordered { namespace detail {
|
||||
Key const& k,
|
||||
Pred const& eq) const
|
||||
{
|
||||
if (!this->size_) return iterator();
|
||||
|
||||
std::size_t bucket_index =
|
||||
policy::to_bucket(this->bucket_count_, key_hash);
|
||||
iterator n = this->get_start(bucket_index);
|
||||
|
||||
Reference in New Issue
Block a user