diff options
author | David Robillard <d@drobilla.net> | 2007-10-07 18:14:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-07 18:14:01 +0000 |
commit | 299f075679fc7ea6a67001c2cc0442511e167cbc (patch) | |
tree | 1fa210526bb92ceafa057b423e466686d55d00bd /src/libs/engine/events/ConnectionEvent.cpp | |
parent | 91031b8f5a4bf86b39e4c4a02412a16e247f8b15 (diff) | |
download | ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.tar.gz ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.tar.bz2 ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.zip |
Shared abstract Node interface.
git-svn-id: http://svn.drobilla.net/lad/ingen@835 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/ConnectionEvent.cpp')
-rw-r--r-- | src/libs/engine/events/ConnectionEvent.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/events/ConnectionEvent.cpp b/src/libs/engine/events/ConnectionEvent.cpp index 4953eb02..d1ec1a89 100644 --- a/src/libs/engine/events/ConnectionEvent.cpp +++ b/src/libs/engine/events/ConnectionEvent.cpp @@ -91,8 +91,8 @@ ConnectionEvent::pre_process() return; } - Node* const src_node = _src_port->parent_node(); - Node* const dst_node = _dst_port->parent_node(); + NodeImpl* const src_node = _src_port->parent_node(); + NodeImpl* const dst_node = _dst_port->parent_node(); // Connection to a patch port from inside the patch if (src_node->parent_patch() != dst_node->parent_patch()) { @@ -133,8 +133,8 @@ ConnectionEvent::pre_process() // Need to be careful about patch port connections here and adding a node's // parent as a dependant/provider, or adding a patch as it's own provider... if (src_node != dst_node && src_node->parent() == dst_node->parent()) { - dst_node->providers()->push_back(new Raul::ListNode<Node*>(src_node)); - src_node->dependants()->push_back(new Raul::ListNode<Node*>(dst_node)); + dst_node->providers()->push_back(new Raul::ListNode<NodeImpl*>(src_node)); + src_node->dependants()->push_back(new Raul::ListNode<NodeImpl*>(dst_node)); } if (_patch->enabled()) |