From e82efbc503f278cd9a84aafd6cb574fc4bfc0e04 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 4 Dec 2011 01:19:53 +0000 Subject: Move Port::_module down to C level (Port is now a stateless wrapper). Fix crash on edge deletion. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3785 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageCanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PatchageCanvas.cpp') diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp index 25483a4..10a156a 100644 --- a/src/PatchageCanvas.cpp +++ b/src/PatchageCanvas.cpp @@ -79,7 +79,7 @@ PatchageCanvas::find_port(const PortID& id) PortIndex::iterator i = _port_index.find(id); if (i != _port_index.end()) { - assert(i->second->module()); + assert(i->second->get_module()); return i->second; } -- cgit v1.2.1