mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 01:27:57 -05:00
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:
@ -136,7 +136,7 @@ static void SocketLoop(Socket* socket) {
|
||||
socket->Loop();
|
||||
}
|
||||
|
||||
UDPClient::UDPClient(const std::string& input_engine_) : InputEngine(input_engine_) {
|
||||
UDPClient::UDPClient(std::string input_engine_) : InputEngine(std::move(input_engine_)) {
|
||||
LOG_INFO(Input, "Udp Initialization started");
|
||||
ReloadSockets();
|
||||
}
|
||||
|
Reference in New Issue
Block a user