diff options
author | David Robillard <d@drobilla.net> | 2007-02-10 01:44:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-10 01:44:16 +0000 |
commit | 69de9f5364094e0cafe818a4a1e5af96f8a42a07 (patch) | |
tree | 6673d6e759cb0147a9ff4c067983b6645bbc577b /src/libs/engine/events | |
parent | e343345cf54172720f3494ccef87d62b2c688d0a (diff) | |
download | ingen-69de9f5364094e0cafe818a4a1e5af96f8a42a07.tar.gz ingen-69de9f5364094e0cafe818a4a1e5af96f8a42a07.tar.bz2 ingen-69de9f5364094e0cafe818a4a1e5af96f8a42a07.zip |
Fix previous (broken) commit.
git-svn-id: http://svn.drobilla.net/lad/ingen@296 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r-- | src/libs/engine/events/DisconnectionEvent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/events/DisconnectionEvent.cpp b/src/libs/engine/events/DisconnectionEvent.cpp index 84ca49ff..ccb156e5 100644 --- a/src/libs/engine/events/DisconnectionEvent.cpp +++ b/src/libs/engine/events/DisconnectionEvent.cpp @@ -216,13 +216,13 @@ TypedDisconnectionEvent<T>::pre_process() for (Raul::List<Node*>::iterator i = dst_node->providers()->begin(); i != dst_node->providers()->end(); ++i) if ((*i) == src_node) { - delete dst_node->providers()->remove(i); + delete dst_node->providers()->erase(i); break; } for (Raul::List<Node*>::iterator i = src_node->dependants()->begin(); i != src_node->dependants()->end(); ++i) if ((*i) == dst_node) { - delete src_node->dependants()->remove(i); + delete src_node->dependants()->erase(i); break; } |