From fb256d473ed33410d11be56244c565884c2f14bb Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 21 May 2025 18:13:30 +0800 Subject: internal: prefer direct pointers instead of (uintptr_t) converted ones --- src/sessionManager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sessionManager.hpp') diff --git a/src/sessionManager.hpp b/src/sessionManager.hpp index 6e946d6..6d3750e 100644 --- a/src/sessionManager.hpp +++ b/src/sessionManager.hpp @@ -15,7 +15,7 @@ class CSessionManager { std::pair> *newSession(); void run(); - void broadcast(const std::string &msg, std::optional self = std::nullopt) const; // second param only specified when we want to exclude the sender + void broadcast(const std::string &msg, std::optional self = std::nullopt) const; // second param only specified when we want to exclude the sender void kick(CSession *session, const bool kill = false, const std::string &reason = ""); void kick(std::pair> *session, const bool kill = false, const std::string &reason = ""); void addSession(const CSession &session); -- cgit v1.2.3