From b3a3e73aaefa39e052e53f9f42c6d0e2f7e1bb9b Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 19 Jun 2025 16:39:27 +0800 Subject: fixup! internal: seperate client and clientmanager header --- include/libsock/server/clients.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/libsock/server/clients.hpp b/include/libsock/server/clients.hpp index 9b94127..ba0b40d 100644 --- a/include/libsock/server/clients.hpp +++ b/include/libsock/server/clients.hpp @@ -22,13 +22,10 @@ class Clients { Clients(); ~Clients(); - WP newClient( - std::optional)>> cb = std::nullopt - ); + WP newClient(std::optional)>> cb = std::nullopt); - void broadcast(const std::string &msg, - std::optional> self = std::nullopt); // second param only specified when we - // want to exclude the sender + void broadcast(const std::string &msg, std::optional> self = std::nullopt); // second param only specified when we + // want to exclude the sender void kick(WP client, const bool kill = false, const std::string &reason = "", std::optional>>::iterator &)>> cb = std::nullopt); void addClient(const Client &client); -- cgit v1.2.3