From 67d2cb50843c73024758d6f73c35bae37070b67b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 6 Jun 2011 18:05:47 +0000 Subject: 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 --- src/PatchageEvent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PatchageEvent.cpp') 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 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 { -- cgit v1.2.1