[SVN r80172]
This commit is contained in:
Ion Gaztañaga
2012-08-24 20:36:23 +00:00
parent 09d57bf2a2
commit 32bf689e63

View File

@@ -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) void priv_range_insert(const_iterator pos, InIt first, InIt last, std::input_iterator_tag)
{ {
for(;first != last; ++first){ for(;first != last; ++first){
this->emplace(pos, *first); pos = this->emplace(pos, *first);
++pos;
} }
} }