diff options
| author | 2021-02-09 17:36:29 -0500 | |
|---|---|---|
| committer | 2021-02-09 17:36:32 -0500 | |
| commit | cda24b8eb14cfee0105f889aa342be322f3cfc30 (patch) | |
| tree | 4d6414e97c8bdf48000b06565c7d38603056d34a /src/input_common/udp/client.cpp | |
| parent | Merge pull request #5339 from german77/interactive (diff) | |
| download | yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.tar.gz yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.tar.xz yuzu-cda24b8eb14cfee0105f889aa342be322f3cfc30.zip | |
udp/client: Define ClientData constructor/destructor in cpp file
Prevents compilation errors on clang 12 due to incomplete types within a
unique_ptr member.
Diffstat (limited to 'src/input_common/udp/client.cpp')
| -rw-r--r-- | src/input_common/udp/client.cpp | 4 |
1 files changed, 4 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() { | |||
| 144 | Reset(); | 144 | Reset(); |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | Client::ClientData::ClientData() = default; | ||
| 148 | |||
| 149 | Client::ClientData::~ClientData() = default; | ||
| 150 | |||
| 147 | std::vector<Common::ParamPackage> Client::GetInputDevices() const { | 151 | std::vector<Common::ParamPackage> Client::GetInputDevices() const { |
| 148 | std::vector<Common::ParamPackage> devices; | 152 | std::vector<Common::ParamPackage> devices; |
| 149 | for (std::size_t client = 0; client < clients.size(); client++) { | 153 | for (std::size_t client = 0; client < clients.size(); client++) { |