Add prototype of move assignment

This commit is contained in:
Christian Mazakas committed 2023-04-26 12:54:04 -07:00
1 parent d7acb7e8b8
commit 212c6a1e4d
3 files changed
+224 -2

No files matched your search

+2 -2
View File
@@ -1381,8 +1381,8 @@ public:
reserve(0);
move_assign_if<pocma>(al(),x.al());
swap(arrays,x.arrays);
swap(ml,x.ml);
swap(size_,x.size_);
swap_size_impl(ml,x.ml);
swap_size_impl(size_,x.size_);
}
else{
/* noshrink: favor memory reuse over tightness */