summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-02 15:50:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-02 15:50:26 +0300
commitaee8a3298bc621ff1c7e3a655ecc38ad0b4087cb (patch)
treea9843cbd93c0a493ea4a0cd8287a14362d0e082a /src/net
parentdfa63b79b88c892d09746e5c1d9396fb3a793786 (diff)
downloadplus-aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb.tar.gz
plus-aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb.tar.bz2
plus-aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb.tar.xz
plus-aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb.zip
Add missing constructors.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sdltcpnet.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index 4e01fe15a..857e85140 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -54,6 +54,14 @@ PRAGMACLANG6GCC(GCC diagnostic pop)
// because actual struct is hidden in SDL_net we reinroducing it here
struct TCPsocketHack final
{
+ TCPsocketHack() :
+ ready(0),
+ channel(0),
+ remoteAddress(),
+ localAddress(),
+ sflag()
+ { }
+
A_DELETE_COPY(TCPsocketHack)
int ready;