forked from boostorg/container
Fix move constructors with unequal allocators and move/copy assignment of tree.
This commit is contained in:
1 parent
d0750f4493
commit
c2ea5da716
8 files changed
+25
-17
No files matched your search
@@ -278,7 +278,7 @@ class list
|
||||
this->icont().swap(x.icont());
|
||||
}
|
||||
else{
|
||||
this->insert(this->cbegin(), x.begin(), x.end());
|
||||
this->insert(this->cbegin(), boost::make_move_iterator(x.begin()), boost::make_move_iterator(x.end()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user