Update GUI to use new IO PortSet API (2/2)

This commit is contained in:
Robin Gareus 2024-06-24 20:41:43 +02:00
parent 2e23ec4422
commit 1f368900e3
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
5 changed files with 27 additions and 24 deletions

View file

@ -636,8 +636,8 @@ ProcessorEntry::name (Width w) const
if (send->remove_on_disconnect ()) {
// assume it's a sidechain, find pretty name of connected port(s)
PortSet& ps (send->output ()->ports ());
for (PortSet::iterator i = ps.begin (); i != ps.end () && pretty_ok; ++i) {
shared_ptr<PortSet const> ps (send->output ()->ports ());
for (auto i = ps->begin (); i != ps->end () && pretty_ok; ++i) {
vector<string> connections;
if (i->get_connections (connections)) {
vector<string>::const_iterator ci;