Skip to content

Commit

Permalink
std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
peter authored and peter committed Oct 9, 2024
1 parent 3f2410e commit bc2b45c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iceberg_functions/iceberg_scan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static unique_ptr<TableRef> MakeScanExpression(vector<Value> &data_file_values,
table_function_ref_data->alias = "iceberg_scan_data";
vector<unique_ptr<ParsedExpression>> left_children;
left_children.push_back(make_uniq<ConstantExpression>(Value::LIST(data_file_values)));
left_children.push_back(move(cardinality));
left_children.push_back(std::move(cardinality));
if (!skip_schema_inference) {
left_children.push_back(
make_uniq<ComparisonExpression>(ExpressionType::COMPARE_EQUAL, make_uniq<ColumnRefExpression>("schema"),
Expand Down Expand Up @@ -173,7 +173,7 @@ static unique_ptr<TableRef> MakeScanExpression(vector<Value> &data_file_values,
table_function_ref_data->alias = "iceberg_scan_data";
vector<unique_ptr<ParsedExpression>> left_children;
left_children.push_back(make_uniq<ConstantExpression>(Value::LIST(data_file_values)));
left_children.push_back(move(cardinality));
left_children.push_back(std::move(cardinality));
left_children.push_back(make_uniq<ComparisonExpression>(ExpressionType::COMPARE_EQUAL,
make_uniq<ColumnRefExpression>("filename"),
make_uniq<ConstantExpression>(Value(1))));
Expand Down

0 comments on commit bc2b45c

Please sign in to comment.