0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

UI: Fix "Unqualified call to 'std::move'" warnings

This commit is contained in:
gxalpha 2023-04-05 00:37:18 +02:00 committed by Jim
parent 7743ccfb03
commit 5fe8dac563

View File

@ -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;
};
@ -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;
};
@ -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;
};