Skip to content

Commit

Permalink
UI: Fix "Unqualified call to 'std::move'" warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gxalpha authored and jp9000 committed Apr 4, 2023
1 parent 7743ccf commit 5fe8dac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UI/window-basic-settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3139,7 +3139,7 @@ void OBSBasicSettings::LoadHotkeySettings(obs_hotkey_id ignoreKey)
if (!encoder)
return true;

encoders.emplace_back(move(encoder), label, hw);
encoders.emplace_back(std::move(encoder), label, hw);
return false;
};

Expand All @@ -3151,7 +3151,7 @@ void OBSBasicSettings::LoadHotkeySettings(obs_hotkey_id ignoreKey)
if (!output)
return true;

outputs.emplace_back(move(output), label, hw);
outputs.emplace_back(std::move(output), label, hw);
return false;
};

Expand All @@ -3164,7 +3164,7 @@ void OBSBasicSettings::LoadHotkeySettings(obs_hotkey_id ignoreKey)
if (!service)
return true;

services.emplace_back(move(service), label, hw);
services.emplace_back(std::move(service), label, hw);
return false;
};

Expand Down

0 comments on commit 5fe8dac

Please sign in to comment.