From ffe238b426ab7ad7b3d6f8efd49cf4c7861fbf6f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Dec 2019 19:27:09 +0100 Subject: Cleanup: Make methods static where possible --- src/server/Broadcaster.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/server/Broadcaster.hpp') diff --git a/src/server/Broadcaster.hpp b/src/server/Broadcaster.hpp index bf586c38..d8857356 100644 --- a/src/server/Broadcaster.hpp +++ b/src/server/Broadcaster.hpp @@ -91,7 +91,9 @@ public: }; void send_plugins(const BlockFactory::Plugins& plugins); - void send_plugins_to(Interface*, const BlockFactory::Plugins& plugins); + + static void + send_plugins_to(Interface*, const BlockFactory::Plugins& plugins); void message(const Message& msg) override { std::lock_guard lock(_clients_mutex); -- cgit v1.2.1