diff options
| author | 2021-12-13 09:05:23 -0500 | |
|---|---|---|
| committer | 2021-12-13 09:05:50 -0500 | |
| commit | 2b92d22bda767c7c723935c357bea474f8e2d2f8 (patch) | |
| tree | e732bb3b2062562c031ea54937514ca34ab6e6b1 /src/input_common/drivers/udp_client.h | |
| parent | input_engine: Remove callback clearing in constructor (diff) | |
| download | yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.gz yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.xz yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.zip | |
input_engine: std::move engine name where applicable
We can allow the name to be moved into, allowing allocations to be
avoided.
Diffstat (limited to 'src/input_common/drivers/udp_client.h')
| -rw-r--r-- | src/input_common/drivers/udp_client.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_common/drivers/udp_client.h b/src/input_common/drivers/udp_client.h index 5d483f26b..1adc947c4 100644 --- a/src/input_common/drivers/udp_client.h +++ b/src/input_common/drivers/udp_client.h | |||
| @@ -49,10 +49,10 @@ struct DeviceStatus { | |||
| 49 | * A button device factory representing a keyboard. It receives keyboard events and forward them | 49 | * A button device factory representing a keyboard. It receives keyboard events and forward them |
| 50 | * to all button devices it created. | 50 | * to all button devices it created. |
| 51 | */ | 51 | */ |
| 52 | class UDPClient final : public InputCommon::InputEngine { | 52 | class UDPClient final : public InputEngine { |
| 53 | public: | 53 | public: |
| 54 | explicit UDPClient(const std::string& input_engine_); | 54 | explicit UDPClient(std::string input_engine_); |
| 55 | ~UDPClient(); | 55 | ~UDPClient() override; |
| 56 | 56 | ||
| 57 | void ReloadSockets(); | 57 | void ReloadSockets(); |
| 58 | 58 | ||