input_engine: std::move engine name where applicable

We can allow the name to be moved into, allowing allocations to be
avoided.
This commit is contained in:
Lioncash
2021-12-13 09:05:23 -05:00
parent 9a104e2b60
commit 2b92d22bda
15 changed files with 29 additions and 29 deletions

View File

@ -49,10 +49,10 @@ struct DeviceStatus {
* A button device factory representing a keyboard. It receives keyboard events and forward them
* to all button devices it created.
*/
class UDPClient final : public InputCommon::InputEngine {
class UDPClient final : public InputEngine {
public:
explicit UDPClient(const std::string& input_engine_);
~UDPClient();
explicit UDPClient(std::string input_engine_);
~UDPClient() override;
void ReloadSockets();