From 08e768f1d89289f0783b5bab9ea9f2eb0753ed70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Fri, 6 Nov 2015 21:49:55 +0100 Subject: [PATCH] Fix comment about self-assignment --- include/boost/container/vector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container/vector.hpp b/include/boost/container/vector.hpp index 76c30b3..e3bc106 100644 --- a/include/boost/container/vector.hpp +++ b/include/boost/container/vector.hpp @@ -2407,7 +2407,7 @@ class vector , container_detail::is_different >::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();