summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-02-03 15:19:03 +0100
committerLioncash <mathew1800@gmail.com>2020-02-03 15:20:40 +0100
commit9bb6ab77f4439ea8c9d78c896aedf8dcdf0c1c6e (patch)
tree55325d519b558c2896c7b1de9f7f6bcf3f5860b5 /src
parentinput_common/udp: Silence -Wreorder warning for Socket (diff)
downloadyuzu-9bb6ab77f4439ea8c9d78c896aedf8dcdf0c1c6e.tar
yuzu-9bb6ab77f4439ea8c9d78c896aedf8dcdf0c1c6e.tar.gz
yuzu-9bb6ab77f4439ea8c9d78c896aedf8dcdf0c1c6e.tar.bz2
yuzu-9bb6ab77f4439ea8c9d78c896aedf8dcdf0c1c6e.tar.lz
yuzu-9bb6ab77f4439ea8c9d78c896aedf8dcdf0c1c6e.tar.xz
yuzu-9bb6ab77f4439ea8c9d78c896aedf8dcdf0c1c6e.tar.zst
yuzu-9bb6ab77f4439ea8c9d78c896aedf8dcdf0c1c6e.zip
Diffstat (limited to 'src')
-rw-r--r--src/input_common/udp/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/udp/client.cpp b/src/input_common/udp/client.cpp
index 7d6b0478e..f020628eb 100644
--- a/src/input_common/udp/client.cpp
+++ b/src/input_common/udp/client.cpp
@@ -14,7 +14,6 @@
#include "input_common/udp/client.h"
#include "input_common/udp/protocol.h"
-using boost::asio::ip::address_v4;
using boost::asio::ip::udp;
namespace InputCommon::CemuhookUDP {
@@ -33,7 +32,8 @@ public:
SocketCallback callback)
: callback(std::move(callback)), timer(io_service),
socket(io_service, udp::endpoint(udp::v4(), 0)), client_id(client_id),
- pad_index(pad_index), send_endpoint(udp::endpoint(address_v4::from_string(host), port)) {}
+ pad_index(pad_index),
+ send_endpoint(udp::endpoint(boost::asio::ip::make_address_v4(host), port)) {}
void Stop() {
io_service.stop();