diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2014-07-21 15:15:15 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2014-07-21 15:15:15 +0000 |
commit | f915d67c60d5bdd06f537ce7cc6a54f19352871a (patch) | |
tree | aef3dff9dc72dce02beb44d84b53af2db7235785 /libcxx | |
parent | 0df880209d546eff8bd200a92780dea5d9b47ae8 (diff) | |
download | llvm-f915d67c60d5bdd06f537ce7cc6a54f19352871a.zip llvm-f915d67c60d5bdd06f537ce7cc6a54f19352871a.tar.gz llvm-f915d67c60d5bdd06f537ce7cc6a54f19352871a.tar.bz2 |
make the same change as in 213546 for vector<bool>
llvm-svn: 213547
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/include/vector | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/vector b/libcxx/include/vector index d370214..1e638b9 100644 --- a/libcxx/include/vector +++ b/libcxx/include/vector @@ -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; } |