Fix comment about self-assignment

This commit is contained in:
Ion Gaztañaga
2015-11-06 21:49:55 +01:00
parent 629a2aa85c
commit 08e768f1d8

View File

@@ -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();