summaryrefslogtreecommitdiffstats
path: root/src/ThreadNetwork.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ThreadNetwork.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ThreadNetwork.hpp b/src/ThreadNetwork.hpp
index 60df0d0..73f9ab8 100644
--- a/src/ThreadNetwork.hpp
+++ b/src/ThreadNetwork.hpp
@@ -5,7 +5,7 @@
#include "Event.hpp"
class ThreadNetwork : Thread {
- NetworkClient *nc = nullptr;
+ std::shared_ptr<NetworkClient> nc;
bool isRunning = true;
public:
ThreadNetwork();