diff options
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); |