mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 05:54:28 +02:00
@@ -1413,7 +1413,8 @@ class vector : private container_detail::vector_alloc_holder<A>
|
||||
void priv_range_insert(const_iterator pos, InIt first, InIt last, std::input_iterator_tag)
|
||||
{
|
||||
for(;first != last; ++first){
|
||||
this->emplace(pos, *first);
|
||||
pos = this->emplace(pos, *first);
|
||||
++pos;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user