summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-02-03 15:21:44 +0100
committerLioncash <mathew1800@gmail.com>2020-02-03 15:21:46 +0100
commitfb9c9ddcc908e181793fb2564c7e05c1af5d4913 (patch)
tree2f30ed2772062d094b8a55bffe8fe04f99dbb333 /src/input_common
parentudp/client: Replace deprecated from_string() call with make_address_v4() (diff)
downloadyuzu-fb9c9ddcc908e181793fb2564c7e05c1af5d4913.tar
yuzu-fb9c9ddcc908e181793fb2564c7e05c1af5d4913.tar.gz
yuzu-fb9c9ddcc908e181793fb2564c7e05c1af5d4913.tar.bz2
yuzu-fb9c9ddcc908e181793fb2564c7e05c1af5d4913.tar.lz
yuzu-fb9c9ddcc908e181793fb2564c7e05c1af5d4913.tar.xz
yuzu-fb9c9ddcc908e181793fb2564c7e05c1af5d4913.tar.zst
yuzu-fb9c9ddcc908e181793fb2564c7e05c1af5d4913.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/udp/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/udp/client.cpp b/src/input_common/udp/client.cpp
index f020628eb..1fa246e79 100644
--- a/src/input_common/udp/client.cpp
+++ b/src/input_common/udp/client.cpp
@@ -125,7 +125,7 @@ static void SocketLoop(Socket* socket) {
Client::Client(std::shared_ptr<DeviceStatus> status, const std::string& host, u16 port,
u8 pad_index, u32 client_id)
- : status(status) {
+ : status(std::move(status)) {
StartCommunication(host, port, pad_index, client_id);
}