mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 05:54:28 +02:00
Fix comment about self-assignment
This commit is contained in:
@@ -2407,7 +2407,7 @@ class vector
|
||||
, container_detail::is_different<OtherAllocator, allocator_type>
|
||||
>::type * = 0)
|
||||
{
|
||||
//for move constructor, no aliasing (&x != this) is assummed.
|
||||
//for move assignment, no aliasing (&x != this) is assummed.
|
||||
BOOST_ASSERT(this != &x);
|
||||
allocator_type &this_alloc = this->m_holder.alloc();
|
||||
allocator_type &x_alloc = x.m_holder.alloc();
|
||||
|
Reference in New Issue
Block a user