Commit b1137c13 authored by Marius Wachtler's avatar Marius Wachtler

Merge pull request #1237 from c-rhodes/fix_builtins_std_move

Fix std::move error on temporary object
parents e37660ef 5380b5c7
...@@ -1235,7 +1235,7 @@ Box* zip(BoxedTuple* containers) { ...@@ -1235,7 +1235,7 @@ Box* zip(BoxedTuple* containers) {
std::vector<BoxIterator> iterators; std::vector<BoxIterator> iterators;
iterators.reserve(containers->size()); iterators.reserve(containers->size());
for (auto&& range : ranges) { for (auto&& range : ranges) {
iterators.push_back(std::move(range.begin())); iterators.push_back(range.begin());
} }
while (true) { while (true) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment