summaryrefslogtreecommitdiffstats
path: root/src/client/ClientStore.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-21 00:41:34 +0100
committerDavid Robillard <d@drobilla.net>2018-01-21 00:41:34 +0100
commit90fca083052880479ad90d870e556f0648e32106 (patch)
treed99d4aa6f7f519d59b0d262dbc1f5451afff07d1 /src/client/ClientStore.cpp
parente84092a7acee6c4d1493cbdd23ec5676b923f44d (diff)
downloadingen-90fca083052880479ad90d870e556f0648e32106.tar.gz
ingen-90fca083052880479ad90d870e556f0648e32106.tar.bz2
ingen-90fca083052880479ad90d870e556f0648e32106.zip
Replace insert(make_pair(...)) with emplace
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r--src/client/ClientStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 356a6b31..706b2c5b 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -189,7 +189,7 @@ ClientStore::add_plugin(SPtr<PluginModel> pm)
if (existing) {
existing->set(pm);
} else {
- _plugins->insert(make_pair(pm->uri(), pm));
+ _plugins->emplace(pm->uri(), pm);
_signal_new_plugin.emit(pm);
}
}