diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-05-21 11:33:19 +0000 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-05-21 22:49:45 +0800 |
| commit | 99fa221f86cb8a2a5d9f4d03c2a7937d4fca4e6c (patch) | |
| tree | a4cf43a5a0e073e2c11bbeac61f4c250909458fc /src/sessionManager.hpp | |
| parent | 554a0a88b805dbee8361908538e072302c3ebfa8 (diff) | |
style: clang-format
Diffstat (limited to 'src/sessionManager.hpp')
| -rw-r--r-- | src/sessionManager.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessionManager.hpp b/src/sessionManager.hpp index 6d3750e..3aa4b19 100644 --- a/src/sessionManager.hpp +++ b/src/sessionManager.hpp @@ -15,7 +15,7 @@ class CSessionManager { std::pair<std::jthread, std::shared_ptr<CSession>> *newSession(); void run(); - void broadcast(const std::string &msg, std::optional<const CSession* const> self = std::nullopt) const; // second param only specified when we want to exclude the sender + void broadcast(const std::string &msg, std::optional<const CSession *const> 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<std::jthread, std::shared_ptr<CSession>> *session, const bool kill = false, const std::string &reason = ""); void addSession(const CSession &session); |
