diff options
author | David Robillard <d@drobilla.net> | 2015-09-02 00:35:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-09-02 00:35:55 +0000 |
commit | 9cfc41a86b30d4b10cffd5404c91ce852ab6a1a8 (patch) | |
tree | f0fec097345df633d7530da59efa96bb10e51a61 /src/server | |
parent | 511d550730be922b64190c6fbbd22c387fe28774 (diff) | |
download | ingen-9cfc41a86b30d4b10cffd5404c91ce852ab6a1a8.tar.gz ingen-9cfc41a86b30d4b10cffd5404c91ce852ab6a1a8.tar.bz2 ingen-9cfc41a86b30d4b10cffd5404c91ce852ab6a1a8.zip |
Remove last use of map::emplace.
So annoying.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5718 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/DuplexPort.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index f681e250..05bf1b5a 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -98,13 +98,13 @@ DuplexPort::inherit_neighbour(const PortImpl* port, if (_type == PortType::CONTROL || _type == PortType::CV) { if (port->minimum().get<float>() < _min.get<float>()) { _min = port->minimum(); - remove.emplace(uris.lv2_minimum, uris.patch_wildcard); - add.emplace(uris.lv2_minimum, port->minimum()); + remove.insert(std::make_pair(uris.lv2_minimum, uris.patch_wildcard)); + add.insert(std::make_pair(uris.lv2_minimum, port->minimum())); } if (port->maximum().get<float>() > _max.get<float>()) { _max = port->maximum(); - remove.emplace(uris.lv2_maximum, uris.patch_wildcard); - add.emplace(uris.lv2_maximum, port->maximum()); + remove.insert(std::make_pair(uris.lv2_maximum, uris.patch_wildcard)); + add.insert(std::make_pair(uris.lv2_maximum, port->maximum())); } } else if (_type == PortType::ATOM) { for (Resource::Properties::const_iterator i = port->properties().find( |