summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-06 18:05:47 +0000
committerDavid Robillard <d@drobilla.net>2011-06-06 18:05:47 +0000
commit67d2cb50843c73024758d6f73c35bae37070b67b (patch)
treeebeba1505b7a18238f49731ff164d920a6ceb497 /src/PatchageEvent.cpp
parent654322e7d3dbeac6782ad2db1e9893389939b0ba (diff)
downloadpatchage-67d2cb50843c73024758d6f73c35bae37070b67b.tar.gz
patchage-67d2cb50843c73024758d6f73c35bae37070b67b.tar.bz2
patchage-67d2cb50843c73024758d6f73c35bae37070b67b.zip
Use a care pointer reference to containing module rather than boost::weak_ptr.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3364 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index 8a51119..e77de3f 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -74,7 +74,7 @@ PatchageEvent::execute(Patchage* patchage)
if (driver) {
SharedPtr<PatchagePort> port = driver->create_port_view(patchage, _port_1);
if (port)
- patchage->enqueue_resize(port->module().lock());
+ patchage->enqueue_resize(port->module());
else
Raul::error << "Unable to create port view: " << _port_1 << endl;
} else {