Don't neglect to "return *this".
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@165860 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2700,6 +2700,7 @@ vector<bool, _Allocator>::operator=(vector&& __v)
|
||||
{
|
||||
__move_assign(__v, integral_constant<bool,
|
||||
__storage_traits::propagate_on_container_move_assignment::value>());
|
||||
return *this;
|
||||
}
|
||||
|
||||
template <class _Allocator>
|
||||
|
Reference in New Issue
Block a user