diff options
author | Lioncash <mathew1800@gmail.com> | 2021-02-09 17:36:29 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-02-09 17:36:32 -0500 |
commit | cda24b8eb14cfee0105f889aa342be322f3cfc30 (patch) | |
tree | 4d6414e97c8bdf48000b06565c7d38603056d34a /src/input_common/udp/client.h | |
parent | 089608909254dfa4860705a29a6c33f6872d85a5 (diff) |
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.h')
-rw-r--r-- | src/input_common/udp/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
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{}; |