From 3f6829abef9cc03bc344c4cad1bc7abe9490d1fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Apr 2012 01:44:21 +0000 Subject: Lint. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/client/NodeModel.hpp | 2 +- ingen/client/PortModel.hpp | 11 +++++++++-- ingen/client/ThreadedSigClientInterface.hpp | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'ingen/client') 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 plugin, const Raul::Path& path); - NodeModel(const Raul::Path& path); + explicit NodeModel(const Raul::Path& path); void add_child(SharedPtr c); bool remove_child(SharedPtr 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 c) { throw; } bool remove_child(SharedPtr c) { throw; } - void connected_to(SharedPtr p) { ++_connections; _signal_connection.emit(p); } - void disconnected_from(SharedPtr p) { --_connections; _signal_disconnection.emit(p); } + void connected_to(SharedPtr p) { + ++_connections; + _signal_connection.emit(p); + } + + void disconnected_from(SharedPtr p) { + --_connections; + _signal_disconnection.emit(p); + } void set(SharedPtr 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()) -- cgit v1.2.1