Apply suggestions from code review
Co-Authored-By: valentinvanelslande <valentinvanelslandeacnl@gmail.com>
This commit is contained in:
parent
7c95032e3a
commit
90965525ac
5 changed files with 12 additions and 10 deletions
|
@ -133,7 +133,7 @@ void CreateProfile(std::string name) {
|
|||
profile.udp_input_address = values.udp_input_address;
|
||||
profile.udp_input_port = values.udp_input_port;
|
||||
profile.udp_pad_index = values.udp_pad_index;
|
||||
values.profiles.push_back(profile);
|
||||
values.profiles.push_back(std::move(profile));
|
||||
values.profile = static_cast<int>(values.profiles.size()) - 1;
|
||||
LoadProfile(values.profile);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue