fix calling GlobalParser as static

This commit is contained in:
Lion Kortlepel
2024-01-08 12:17:48 +01:00
committed by Lion
parent 0836fd3af8
commit 0166e488d0
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ public:
void ForEachClient(const std::function<bool(std::weak_ptr<TClient>)>& Fn);
size_t ClientCount() const;
static void GlobalParser(const std::weak_ptr<TClient>& Client, std::vector<uint8_t>&& Packet, TPPSMonitor& PPSMonitor, TNetwork& Network);
void GlobalParser(const std::weak_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; }