From 2a6ac699e51330e9710bdb1bba8db69608f3f59c Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Wed, 1 Sep 2021 15:29:04 +0200 Subject: [PATCH] fix: add m_Connected default value --- include/game/client/Client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/game/client/Client.h b/include/game/client/Client.h index 06c26de..cf3386c 100644 --- a/include/game/client/Client.h +++ b/include/game/client/Client.h @@ -15,7 +15,7 @@ private: ClientGame m_Game{m_Connexion.GetDispatcher()}; bool m_Connected; public: - Client(){} + Client() : m_Connected(false){} const ClientGame& getGame() const{ return m_Game; } const ClientConnexion& getConnexion() const{ return m_Connexion; }