Fix valgrind uninitialized

This commit is contained in:
Benau 2018-06-04 11:12:03 +08:00
parent aa1bb720e3
commit e326d7bcfd

View File

@ -69,6 +69,7 @@ engine.
ClientLobby::ClientLobby(const TransportAddress& a, std::shared_ptr<Server> s)
: LobbyProtocol(NULL)
{
m_state.store(NONE);
m_server_address = a;
m_server = s;
setHandleDisconnections(true);