summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers/udp_client.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-12-13 15:05:23 +0100
committerLioncash <mathew1800@gmail.com>2021-12-13 15:05:50 +0100
commit2b92d22bda767c7c723935c357bea474f8e2d2f8 (patch)
treee732bb3b2062562c031ea54937514ca34ab6e6b1 /src/input_common/drivers/udp_client.cpp
parentinput_engine: Remove callback clearing in constructor (diff)
downloadyuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar
yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.gz
yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.bz2
yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.lz
yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.xz
yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.tar.zst
yuzu-2b92d22bda767c7c723935c357bea474f8e2d2f8.zip
Diffstat (limited to 'src/input_common/drivers/udp_client.cpp')
-rw-r--r--src/input_common/drivers/udp_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/udp_client.cpp b/src/input_common/drivers/udp_client.cpp
index fdee0f2d5..4ab991a7d 100644
--- a/src/input_common/drivers/udp_client.cpp
+++ b/src/input_common/drivers/udp_client.cpp
@@ -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();
}