vcap/pipewire: Use moves in param parsing

To make Coverity happy (CID 424217)
This commit is contained in:
Martin Piatka
2023-11-21 12:57:42 +01:00
parent 65f9d420a4
commit ec8236dedf

View File

@@ -511,10 +511,10 @@ static int parse_params(struct vidcap_params *params, vcap_pw_state *s) {
is >> s->user_options.fps;
continue;
}else if(name == "restore"){
s->user_options.restore_file = value;
s->user_options.restore_file = std::move(value);
continue;
} else if(name =="target"){
s->user_options.target = value;
s->user_options.target = std::move(value);
continue;
}
}