Skip to content

Commit

Permalink
remove unnecessary std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 22, 2024
1 parent 88f5373 commit ea7b718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/color-conversion/monochrome.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Op_mono_to_YCbCr420::state_after_conversion(const ColorState& input_state,
output_state.has_alpha = input_state.has_alpha;
output_state.bits_per_pixel = input_state.bits_per_pixel;

states.emplace_back(std::move(output_state), SpeedCosts_OptimizedSoftware);
states.emplace_back(output_state, SpeedCosts_OptimizedSoftware);

return states;
}
Expand Down

0 comments on commit ea7b718

Please sign in to comment.