diff options
Diffstat (limited to 'src/server/DuplexPort.cpp')
-rw-r--r-- | src/server/DuplexPort.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index a9076239..e81114ff 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -111,8 +111,7 @@ DuplexPort::inherit_neighbour(const PortImpl* port, add.insert(std::make_pair(uris.lv2_maximum, port->maximum())); } } else if (_type == PortType::ATOM) { - for (Properties::const_iterator i = port->properties().find( - uris.atom_supports); + for (auto i = port->properties().find(uris.atom_supports); i != port->properties().end() && i->first == uris.atom_supports; ++i) { set_property(i->first, i->second); |