mirror of
https://github.com/boostorg/unordered.git
synced 2026-05-05 04:04:25 +02:00
Unordered: Fix creating extra node when resizing.
[SVN r80518]
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user