diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-02 15:50:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-02 15:50:26 +0300 |
commit | aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb (patch) | |
tree | a9843cbd93c0a493ea4a0cd8287a14362d0e082a | |
parent | dfa63b79b88c892d09746e5c1d9396fb3a793786 (diff) | |
download | manaplus-aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb.tar.gz manaplus-aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb.tar.bz2 manaplus-aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb.tar.xz manaplus-aee8a3298bc621ff1c7e3a655ecc38ad0b4087cb.zip |
Add missing constructors.
-rw-r--r-- | src/net/sdltcpnet.cpp | 8 |
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; |