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
@@ -718,7 +718,8 @@ class deque : protected deque_base<Allocator>
|
||||
if(x.size()){
|
||||
this->priv_initialize_map(x.size());
|
||||
boost::container::uninitialized_copy_alloc
|
||||
(this->alloc(), x.begin(), x.end(), this->members_.m_start);
|
||||
( this->alloc(), boost::make_move_iterator(x.begin())
|
||||
, boost::make_move_iterator(x.end()), this->members_.m_start);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user