diff --git a/include/boost/range/algorithm_ext/insert.hpp b/include/boost/range/algorithm_ext/insert.hpp index c0c04c8..51f1b8e 100644 --- a/include/boost/range/algorithm_ext/insert.hpp +++ b/include/boost/range/algorithm_ext/insert.hpp @@ -39,6 +39,7 @@ inline Container& insert( Container& on, const Range& from ) BOOST_RANGE_CONCEPT_ASSERT(( ForwardRangeConcept )); BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept )); on.insert(boost::begin(from), boost::end(from)); + return on; } } // namespace range