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/JackDriver.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/JackDriver.cpp')
-rw-r--r-- | src/JackDriver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 79ff93b..773fba9 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -114,13 +114,13 @@ JackDriver::detach() void JackDriver::destroy_all() { - FlowCanvas::ItemList modules = _app->canvas()->items(); // copy - for (FlowCanvas::ItemList::iterator m = modules.begin(); m != modules.end(); ++m) { + FlowCanvas::Canvas::Items modules = _app->canvas()->items(); // copy + for (FlowCanvas::Canvas::Items::iterator m = modules.begin(); m != modules.end(); ++m) { SharedPtr<FlowCanvas::Module> module = PtrCast<FlowCanvas::Module>(*m); if (!module) continue; - FlowCanvas::PortVector ports = module->ports(); // copy - for (FlowCanvas::PortVector::iterator p = ports.begin(); p != ports.end(); ++p) { + FlowCanvas::Module::Ports ports = module->ports(); // copy + for (FlowCanvas::Module::Ports::iterator p = ports.begin(); p != ports.end(); ++p) { boost::shared_ptr<PatchagePort> port = boost::dynamic_pointer_cast<PatchagePort>(*p); if ((port && port->type() == JACK_AUDIO) || (port->type() == JACK_MIDI)) { module->remove_port(port); |