From 474c62ab16e72153535883fd83c78dab62fc7967 Mon Sep 17 00:00:00 2001 From: Masahide Sakamaki Date: Wed, 4 Feb 2015 15:52:15 +0900 Subject: [PATCH] fix missing return statement --- include/boost/range/algorithm_ext/insert.hpp | 1 + 1 file changed, 1 insertion(+) 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