From cda24b8eb14cfee0105f889aa342be322f3cfc30 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 9 Feb 2021 17:36:29 -0500 Subject: udp/client: Define ClientData constructor/destructor in cpp file Prevents compilation errors on clang 12 due to incomplete types within a unique_ptr member. --- src/input_common/udp/client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/input_common/udp/client.h') 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{}; -- cgit v1.2.3