forked from boostorg/container
1 parent
09d57bf2a2
commit
32bf689e63
1 file changed
+2
-1
@@ -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