remove usages of weak_ptr

This commit is contained in:
Lion Kortlepel
2024-01-11 14:30:25 +01:00
parent 130e1acdb3
commit 443871ec0f
5 changed files with 27 additions and 56 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ public:
void ForEachClient(const std::function<bool(const std::shared_ptr<TClient>&)> Fn);
size_t ClientCount() const;
void GlobalParser(const std::weak_ptr<TClient>& Client, std::vector<uint8_t>&& Packet, TPPSMonitor& PPSMonitor, TNetwork& Network);
void GlobalParser(const std::shared_ptr<TClient>& Client, std::vector<uint8_t>&& Packet, TPPSMonitor& PPSMonitor, TNetwork& Network);
static void HandleEvent(TClient& c, const std::string& Data);
RWMutex& GetClientMutex() const { return mClientsMutex; }