[libcxx] r213547 - make the same change as in 213546 for vector<bool>
Marshall Clow
mclow.lists at gmail.com
Mon Jul 21 08:15:15 PDT 2014
Author: marshall
Date: Mon Jul 21 10:15:15 2014
New Revision: 213547
URL: http://llvm.org/viewvc/llvm-project?rev=213547&view=rev
Log:
make the same change as in 213546 for vector<bool>
Modified:
libcxx/trunk/include/vector
Modified: libcxx/trunk/include/vector
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/vector?rev=213547&r1=213546&r2=213547&view=diff
==============================================================================
--- libcxx/trunk/include/vector (original)
+++ libcxx/trunk/include/vector Mon Jul 21 10:15:15 2014
@@ -2851,10 +2851,10 @@ vector<bool, _Allocator>::__move_assign(
_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;
}
More information about the cfe-commits
mailing list