diff options
author | David Robillard <d@drobilla.net> | 2017-12-25 16:37:00 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-25 16:37:00 -0500 |
commit | 37729e5b314e39fb750a3fb46a005acdb15b4ac2 (patch) | |
tree | 5e8e316e9f186dc47bfef09c7546cc3a8f14f6bb /src/server/DuplexPort.cpp | |
parent | 05bce078b6b5cfc64f10399da3a422d00fe6f790 (diff) | |
download | ingen-37729e5b314e39fb750a3fb46a005acdb15b4ac2.tar.gz ingen-37729e5b314e39fb750a3fb46a005acdb15b4ac2.tar.bz2 ingen-37729e5b314e39fb750a3fb46a005acdb15b4ac2.zip |
Use auto for iterators
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); |