From 47372f00cc6fe39f65594aa6edf6544157e94ce7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Mar 2007 18:13:03 +0000 Subject: Removed name-based interface for FlowCanvas (using the view as a model = evil), related performance improvements (especially for Machina). Updates for FlowCanvas API changes. Machina SMF import performance improvements (temporarily disabled node labels). git-svn-id: http://svn.drobilla.net/lad/patchage@356 a436a847-0d15-0410-975c-d299462d15a1 --- src/AlsaDriver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/AlsaDriver.cpp') diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index b9d6a48..5a11b67 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -274,9 +274,9 @@ AlsaDriver::refresh_connections() boost::shared_ptr m; boost::shared_ptr p; - for (ItemMap::iterator i = _app->canvas()->items().begin(); + for (ItemList::iterator i = _app->canvas()->items().begin(); i != _app->canvas()->items().end(); ++i) { - m = boost::dynamic_pointer_cast((*i).second); + m = boost::dynamic_pointer_cast(*i); if (m) { for (PortVector::const_iterator j = m->ports().begin(); j != m->ports().end(); ++j) { p = boost::dynamic_pointer_cast(*j); -- cgit v1.2.1