Skip to content

Commit d972d5b

Browse files
author
Rafał Hibner
committed
Remove redundant move
1 parent 077c955 commit d972d5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/src/arrow/util/vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Result<std::vector<To>> MaybeMapVector(Fn&& map, std::vector<From>&& source) {
124124
ARROW_RETURN_NOT_OK(MaybeTransform(std::make_move_iterator(source.begin()),
125125
std::make_move_iterator(source.end()),
126126
std::back_inserter(out), std::forward<Fn>(map)));
127-
return std::move(out);
127+
return out;
128128
}
129129

130130
template <typename T>

0 commit comments

Comments
 (0)