Unordered: Fix incorrect assertion.

[SVN r80508]
This commit is contained in:
Daniel James
2012-09-12 21:09:39 +00:00
parent e68f0c341e
commit ec6219fe13
3 changed files with 20 additions and 2 deletions

View File

@@ -636,7 +636,7 @@ namespace boost { namespace unordered { namespace detail {
// strong otherwise exception safety
void rehash_impl(std::size_t num_buckets)
{
BOOST_ASSERT(this->size_);
BOOST_ASSERT(this->buckets_);
this->create_buckets(num_buckets);
previous_pointer prev = this->get_previous_start();