Unordered: Fix creating extra node when resizing.

[SVN r80518]
This commit is contained in:
Daniel James
2012-09-13 19:50:31 +00:00
parent ec6219fe13
commit 37d58e84e3
2 changed files with 132 additions and 10 deletions
+1 -1
View File
@@ -429,7 +429,7 @@ namespace boost { namespace unordered { namespace detail {
a.construct();
(constructor.get() +
static_cast<std::ptrdiff_t>(bucket_count_))->next_ =
static_cast<std::ptrdiff_t>(new_count))->next_ =
a.release();
}