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/JackDbusDriver.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/JackDbusDriver.cpp')
-rw-r--r-- | src/JackDbusDriver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/JackDbusDriver.cpp b/src/JackDbusDriver.cpp index d137575..51f71c6 100644 --- a/src/JackDbusDriver.cpp +++ b/src/JackDbusDriver.cpp @@ -87,14 +87,14 @@ JackDriver::~JackDriver() void JackDriver::destroy_all() { - FlowCanvas::ItemList modules = _app->canvas()->items(); // copy - for (FlowCanvas::ItemList::iterator m = modules.begin(); m != modules.end(); ++m) { + FlowCanvas::Items modules = _app->canvas()->items(); // copy + for (FlowCanvas::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) { SharedPtr<PatchagePort> port = boost::dynamic_pointer_cast<PatchagePort>(*p); if (port && (port->type() == JACK_AUDIO || port->type() == JACK_MIDI)) { module->remove_port(port); |