From c9c78e191dd71bacd769bbeccd58b80e4376184b Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 5 Aug 2017 20:07:10 +0500 Subject: 2017-08-05 --- src/Network.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Network.hpp') diff --git a/src/Network.hpp b/src/Network.hpp index 1281289..6263e1b 100644 --- a/src/Network.hpp +++ b/src/Network.hpp @@ -12,8 +12,8 @@ enum ConnectionState { }; class Network { - Socket *socket; - StreamSocket *stream; + Socket *socket = nullptr; + StreamSocket *stream = nullptr; std::shared_ptr ReceivePacketByPacketId(int packetId, ConnectionState state, StreamInput &stream); public: -- cgit v1.2.3