make the same change as in 213546 for vector<bool>

llvm-svn: 213547
This commit is contained in:
Marshall Clow 2014-07-21 15:15:15 +00:00
parent 0df880209d
commit f915d67c60
1 changed files with 1 additions and 1 deletions

View File

@ -2851,10 +2851,10 @@ vector<bool, _Allocator>::__move_assign(vector& __c, true_type)
_NOEXCEPT_(is_nothrow_move_assignable<allocator_type>::value)
{
deallocate();
__move_assign_alloc(__c);
this->__begin_ = __c.__begin_;
this->__size_ = __c.__size_;
this->__cap() = __c.__cap();
__move_assign_alloc(__c);
__c.__begin_ = nullptr;
__c.__cap() = __c.__size_ = 0;
}