diff options
Diffstat (limited to 'src/server/ClientBroadcaster.hpp')
-rw-r--r-- | src/server/ClientBroadcaster.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/ClientBroadcaster.hpp b/src/server/ClientBroadcaster.hpp index c095b960..5eea1093 100644 --- a/src/server/ClientBroadcaster.hpp +++ b/src/server/ClientBroadcaster.hpp @@ -49,10 +49,10 @@ class ConnectionImpl; class ClientBroadcaster : public Interface { public: - void register_client(const Raul::URI& uri, Interface* client); + void register_client(const Raul::URI& uri, SharedPtr<Interface> client); bool unregister_client(const Raul::URI& uri); - Interface* client(const Raul::URI& uri); + SharedPtr<Interface> client(const Raul::URI& uri); void send_plugins(const NodeFactory::Plugins& plugin_list); void send_plugins_to(Interface*, const NodeFactory::Plugins& plugin_list); @@ -118,7 +118,7 @@ public: void error(const std::string& msg) { BROADCAST(error, msg); } private: - typedef std::map<Raul::URI, Interface*> Clients; + typedef std::map< Raul::URI, SharedPtr<Interface> > Clients; Glib::Mutex _clients_mutex; Clients _clients; |