diff options
Diffstat (limited to 'boost/range/algorithm_ext/insert.hpp')
-rw-r--r-- | boost/range/algorithm_ext/insert.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boost/range/algorithm_ext/insert.hpp b/boost/range/algorithm_ext/insert.hpp index c0c04c8759..51f1b8e579 100644 --- a/boost/range/algorithm_ext/insert.hpp +++ b/boost/range/algorithm_ext/insert.hpp @@ -39,6 +39,7 @@ inline Container& insert( Container& on, const Range& from ) BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept<Container> )); BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<Range> )); on.insert(boost::begin(from), boost::end(from)); + return on; } } // namespace range |