Fix move constructors with unequal allocators and move/copy assignment of tree.

This commit is contained in:
Ion Gaztañaga committed 2015-02-26 00:22:23 +01:00
1 parent d0750f4493
commit c2ea5da716
8 files changed
+25 -17

No files matched your search

+1 -1
View File
@@ -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()));
}
}