forked from boostorg/container
Fix parameter types in copy_move_algo.hpp: iterator_traits::difference_type -> allocator_traits::size_type
This commit is contained in:
@@ -3120,7 +3120,7 @@ class vector
|
||||
}
|
||||
else{ //If trivial destructor, we can uninitialized copy + copy in a single uninitialized copy
|
||||
::boost::container::uninitialized_move_alloc_n
|
||||
(this->m_holder.alloc(), pos, old_finish - pos, new_start + before_plus_new);
|
||||
(this->m_holder.alloc(), pos, static_cast<size_type>(old_finish - pos), new_start + before_plus_new);
|
||||
this->m_holder.m_size = new_size;
|
||||
old_values_destroyer.release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user