Opened 5 years ago
Last modified 4 years ago
#13153 new Bugs
Missing return statement in range/algorithm_ext/insert.hpp
Reported by: | Olivier B. | Owned by: | Neil Groves |
---|---|---|---|
Milestone: | To Be Determined | Component: | range |
Version: | Boost 1.64.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Return statement is missing in method insert( Container& on, const Range& from )
Adding return on; fixes compilation.
Seems to be a regression since patch #6726 ( https://svn.boost.org/trac10/ticket/6726 )
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 4 years ago
Confirm! Missing return statement in range/algorithm_ext/insert.hpp Still not fixed in 1.67.0. Compiling my project with GCC -O2 gives broken code for "boost::insert(container, items);" line, that is crashing stable. Replacement the line to "container.insert(items.begin(), items.end());" removes the crash.
Note:
See TracTickets
for help on using tickets.
Even more wonderful: it's already fixed in 474c62ab16e72153535883fd83c78dab62fc7967 which is committed on 2015-02-04 and available the develop branch. Seems like this just needs to be merged to master for a release.