Unordered: Cleaning up a bit.

[SVN r80388]
This commit is contained in:
Daniel James
2012-09-03 20:05:15 +00:00
parent 1e07edc1ad
commit e7f495c094
3 changed files with 31 additions and 47 deletions
@@ -234,6 +234,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);