summaryrefslogtreecommitdiff
path: root/include/libsock/server/clients.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/libsock/server/clients.hpp')
-rw-r--r--include/libsock/server/clients.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libsock/server/clients.hpp b/include/libsock/server/clients.hpp
index b18c043..dac5dd1 100644
--- a/include/libsock/server/clients.hpp
+++ b/include/libsock/server/clients.hpp
@@ -24,7 +24,7 @@ class Clients : public std::enable_shared_from_this<Clients> {
static SP<Clients> create(WP<Server> server);
~Clients();
- SP<Client> newClient(std::function<void(const WP<Client> &)> loopFunc = [](const WP<Client> &) { ; });
+ SP<Client> newClient();
void broadcast(const std::string &msg, std::optional<WP<Client>> self = std::nullopt); // second param only specified when we
// want to exclude the sender