|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80172 - trunk/boost/container
From: igaztanaga_at_[hidden]
Date: 2012-08-24 16:36:23
Author: igaztanaga
Date: 2012-08-24 16:36:23 EDT (Fri, 24 Aug 2012)
New Revision: 80172
URL: http://svn.boost.org/trac/boost/changeset/80172
Log:
Ticket #7269
Text files modified:
trunk/boost/container/vector.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/container/vector.hpp
==============================================================================
--- trunk/boost/container/vector.hpp (original)
+++ trunk/boost/container/vector.hpp 2012-08-24 16:36:23 EDT (Fri, 24 Aug 2012)
@@ -1413,7 +1413,8 @@
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;
}
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk