summaryrefslogtreecommitdiffstats
path: root/src/NetworkClient.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/NetworkClient.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/NetworkClient.hpp b/src/NetworkClient.hpp
index cf41f91..83db517 100644
--- a/src/NetworkClient.hpp
+++ b/src/NetworkClient.hpp
@@ -14,11 +14,10 @@ class NetworkClient {
std::queue <std::shared_ptr<Packet>> toSend;
std::queue <std::shared_ptr<Packet>> toReceive;
bool isActive=true;
- bool &isRunning;
ConnectionState state;
void NetworkLoop();
public:
- NetworkClient(std::string address, unsigned short port, std::string username, bool &quit);
+ NetworkClient(std::string address, unsigned short port, std::string username);
~NetworkClient();
std::shared_ptr <Packet> ReceivePacket();