diff options
author | Lioncash <mathew1800@gmail.com> | 2021-02-09 23:36:29 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-02-09 23:36:32 +0100 |
commit | cda24b8eb14cfee0105f889aa342be322f3cfc30 (patch) | |
tree | 4d6414e97c8bdf48000b06565c7d38603056d34a /src/input_common | |
parent | Merge pull request #5339 from german77/interactive (diff) | |
download | yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.tar yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.tar.gz yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.tar.bz2 yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.tar.lz yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.tar.xz yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.tar.zst yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.zip |
Diffstat (limited to 'src/input_common')
-rw-r--r-- | src/input_common/udp/client.cpp | 4 | ||||
-rw-r--r-- | src/input_common/udp/client.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/input_common/udp/client.cpp b/src/input_common/udp/client.cpp index e7e50d789..c4afa4174 100644 --- a/src/input_common/udp/client.cpp +++ b/src/input_common/udp/client.cpp @@ -144,6 +144,10 @@ Client::~Client() { Reset(); } +Client::ClientData::ClientData() = default; + +Client::ClientData::~ClientData() = default; + std::vector<Common::ParamPackage> Client::GetInputDevices() const { std::vector<Common::ParamPackage> devices; for (std::size_t client = 0; client < clients.size(); client++) { diff --git a/src/input_common/udp/client.h b/src/input_common/udp/client.h index 822f9c550..a523f6124 100644 --- a/src/input_common/udp/client.h +++ b/src/input_common/udp/client.h @@ -98,6 +98,9 @@ public: private: struct ClientData { + ClientData(); + ~ClientData(); + std::string host{"127.0.0.1"}; u16 port{26760}; std::size_t pad_index{}; |