summaryrefslogtreecommitdiffstats
path: root/ingen/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-28 01:44:21 +0000
committerDavid Robillard <d@drobilla.net>2012-04-28 01:44:21 +0000
commit3f6829abef9cc03bc344c4cad1bc7abe9490d1fd (patch)
treed730acc84e982a5329aacccf7f68b25beb258071 /ingen/client
parent70f4bcdde45e94dbe27300a5069994aebc523cab (diff)
downloadingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.tar.gz
ingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.tar.bz2
ingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.zip
Lint.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/client')
-rw-r--r--ingen/client/NodeModel.hpp2
-rw-r--r--ingen/client/PortModel.hpp11
-rw-r--r--ingen/client/ThreadedSigClientInterface.hpp2
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())