diff options
Diffstat (limited to 'src/gui/PatchCanvas.cpp')
-rw-r--r-- | src/gui/PatchCanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 733e7703..68a4cbab 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -49,7 +49,7 @@ #define LOG(s) s << "[PatchCanvas] " #define FOREACH_ITEM(iter, coll) \ - for (ItemList::iterator (iter) = coll.begin(); \ + for (Items::iterator (iter) = coll.begin(); \ (iter) != coll.end(); ++(iter)) using Ingen::Client::ClientStore; @@ -449,7 +449,7 @@ PatchCanvas::get_port_view(SharedPtr<PortModel> port) } else { module = PtrCast<NodeModule>(_views[port->parent()]); if (module) { - for (PortVector::const_iterator p = module->ports().begin(); + for (Module::Ports::const_iterator p = module->ports().begin(); p != module->ports().end(); ++p) { boost::shared_ptr<GUI::Port> pv = boost::dynamic_pointer_cast<GUI::Port>(*p); if (pv && pv->model() == port) |