diff options
author | David Robillard <d@drobilla.net> | 2012-04-28 01:44:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-28 01:44:21 +0000 |
commit | 3f6829abef9cc03bc344c4cad1bc7abe9490d1fd (patch) | |
tree | d730acc84e982a5329aacccf7f68b25beb258071 /ingen/client/PortModel.hpp | |
parent | 70f4bcdde45e94dbe27300a5069994aebc523cab (diff) | |
download | ingen-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/PortModel.hpp')
-rw-r--r-- | ingen/client/PortModel.hpp | 11 |
1 files changed, 9 insertions, 2 deletions
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); |