diff options
author | David Robillard <d@drobilla.net> | 2011-06-06 18:32:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-06 18:32:01 +0000 |
commit | 9adc6fb021bcde9720a8afcac9a1a87521691fba (patch) | |
tree | 8d9351dc02045dc2e8883d1ea6278ac2fca3a9bc /src/AlsaDriver.cpp | |
parent | 67d2cb50843c73024758d6f73c35bae37070b67b (diff) | |
download | patchage-9adc6fb021bcde9720a8afcac9a1a87521691fba.tar.gz patchage-9adc6fb021bcde9720a8afcac9a1a87521691fba.tar.bz2 patchage-9adc6fb021bcde9720a8afcac9a1a87521691fba.zip |
Use sane typedefs for collections.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3365 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index 5ab24bb..abd6b82 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -311,11 +311,11 @@ AlsaDriver::refresh_connections() boost::shared_ptr<PatchageModule> m; boost::shared_ptr<PatchagePort> p; - for (FlowCanvas::ItemList::iterator i = _app->canvas()->items().begin(); + for (FlowCanvas::Canvas::Items::iterator i = _app->canvas()->items().begin(); i != _app->canvas()->items().end(); ++i) { m = boost::dynamic_pointer_cast<PatchageModule>(*i); if (m) { - for (FlowCanvas::PortVector::const_iterator j = m->ports().begin(); j != m->ports().end(); ++j) { + for (FlowCanvas::Module::Ports::const_iterator j = m->ports().begin(); j != m->ports().end(); ++j) { p = boost::dynamic_pointer_cast<PatchagePort>(*j); if (p->type() == ALSA_MIDI) add_connections(p); |