diff options
Diffstat (limited to 'ingen/client')
-rw-r--r-- | ingen/client/NodeModel.hpp | 2 | ||||
-rw-r--r-- | ingen/client/PortModel.hpp | 11 | ||||
-rw-r--r-- | ingen/client/ThreadedSigClientInterface.hpp | 2 |
3 files changed, 11 insertions, 4 deletions
diff --git a/ingen/client/NodeModel.hpp b/ingen/client/NodeModel.hpp index f01ea641..310fbcc1 100644 --- a/ingen/client/NodeModel.hpp +++ b/ingen/client/NodeModel.hpp @@ -85,7 +85,7 @@ protected: NodeModel(Shared::URIs& uris, SharedPtr<PluginModel> plugin, const Raul::Path& path); - NodeModel(const Raul::Path& path); + explicit NodeModel(const Raul::Path& path); void add_child(SharedPtr<ObjectModel> c); bool remove_child(SharedPtr<ObjectModel> c); diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp index 2307e5fe..d9fce5e4 100644 --- a/ingen/client/PortModel.hpp +++ b/ingen/client/PortModel.hpp @@ -100,8 +100,15 @@ private: void add_child(SharedPtr<ObjectModel> c) { throw; } bool remove_child(SharedPtr<ObjectModel> c) { throw; } - void connected_to(SharedPtr<PortModel> p) { ++_connections; _signal_connection.emit(p); } - void disconnected_from(SharedPtr<PortModel> p) { --_connections; _signal_disconnection.emit(p); } + void connected_to(SharedPtr<PortModel> p) { + ++_connections; + _signal_connection.emit(p); + } + + void disconnected_from(SharedPtr<PortModel> p) { + --_connections; + _signal_disconnection.emit(p); + } void set(SharedPtr<ObjectModel> model); diff --git a/ingen/client/ThreadedSigClientInterface.hpp b/ingen/client/ThreadedSigClientInterface.hpp index c06524c1..c4859e0a 100644 --- a/ingen/client/ThreadedSigClientInterface.hpp +++ b/ingen/client/ThreadedSigClientInterface.hpp @@ -50,7 +50,7 @@ namespace Client { class ThreadedSigClientInterface : public SigClientInterface { public: - ThreadedSigClientInterface(uint32_t queue_size) + explicit ThreadedSigClientInterface(uint32_t queue_size) : _sigs(queue_size) , response_slot(_signal_response.make_slot()) , error_slot(_signal_error.make_slot()) |