diff options
author | David Robillard <d@drobilla.net> | 2007-10-08 04:51:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-08 04:51:33 +0000 |
commit | 260a406b12997fdab7446a9980e921d8cfc46915 (patch) | |
tree | d900ce2737a2b027a632c6ecb80cf889cb6ebc6d /src/libs/engine/events/DisconnectPortEvent.cpp | |
parent | fae7e7519afae5f42836eaaf5e317151ea9c4378 (diff) | |
download | ingen-260a406b12997fdab7446a9980e921d8cfc46915.tar.gz ingen-260a406b12997fdab7446a9980e921d8cfc46915.tar.bz2 ingen-260a406b12997fdab7446a9980e921d8cfc46915.zip |
SharedPtr-ize engine-side Connections (towards merge for patch->connections()).
git-svn-id: http://svn.drobilla.net/lad/ingen@846 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/DisconnectPortEvent.cpp')
-rw-r--r-- | src/libs/engine/events/DisconnectPortEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/events/DisconnectPortEvent.cpp b/src/libs/engine/events/DisconnectPortEvent.cpp index 5fa82b15..9aaf5c45 100644 --- a/src/libs/engine/events/DisconnectPortEvent.cpp +++ b/src/libs/engine/events/DisconnectPortEvent.cpp @@ -105,7 +105,7 @@ DisconnectPortEvent::pre_process() for (Patch::Connections::const_iterator i = _patch->connections().begin(); i != _patch->connections().end(); ++i) { - const SharedPtr<ConnectionImpl> c(*i); + ConnectionImpl* c = (ConnectionImpl*)i->get(); if ((c->src_port() == _port || c->dst_port() == _port) && !c->pending_disconnection()) { DisconnectionEvent* ev = new DisconnectionEvent(_engine, SharedPtr<Responder>(new Responder()), _time, c->src_port(), c->dst_port()); |