Skip to content

Commit dcf00cf

Browse files
committed
refactor: remove unnecessary std::move in name mapping
1 parent 5a3f695 commit dcf00cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/iceberg/name_mapping.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ class UpdateMappingVisitor {
409409
}
410410

411411
if (fields_to_add.empty()) {
412-
return std::move(mapping);
412+
return mapping;
413413
}
414414

415415
std::vector<MappedField> new_fields;

0 commit comments

Comments
 (0)