Skip to content

Commit

Permalink
One more missed std::move.
Browse files Browse the repository at this point in the history
  • Loading branch information
foxik committed Nov 15, 2023
1 parent dd90398 commit 363ff40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsito/transition/transition_system_swap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ unique_ptr<transition_oracle::tree_oracle> transition_system_swap_oracle_static:
create_projective_component(t, node, projective_components, node);
}

return unique_ptr<transition_oracle::tree_oracle>(new tree_oracle_static(labels, root_label, gold, std::move(projective_order), move(projective_components)));
return unique_ptr<transition_oracle::tree_oracle>(new tree_oracle_static(labels, root_label, gold, std::move(projective_order), std::move(projective_components)));
}

void transition_system_swap_oracle_static::create_projective_order(const tree& gold, int node, vector<int>& projective_order, int& projective_index) const {
Expand Down

0 comments on commit 363ff40

Please sign in to comment.