From aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 2 Aug 2017 15:50:26 +0300 Subject: Add missing constructors. --- src/net/sdltcpnet.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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; -- cgit v1.2.3-60-g2f50