summaryrefslogtreecommitdiffstats
path: root/ingen
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 /ingen
parente84092a7acee6c4d1493cbdd23ec5676b923f44d (diff)
downloadingen-90fca083052880479ad90d870e556f0648e32106.tar.gz
ingen-90fca083052880479ad90d870e556f0648e32106.tar.bz2
ingen-90fca083052880479ad90d870e556f0648e32106.zip
Replace insert(make_pair(...)) with emplace
Diffstat (limited to 'ingen')
-rw-r--r--ingen/Properties.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ingen/Properties.hpp b/ingen/Properties.hpp
index 39d6cf81..a80a00d9 100644
--- a/ingen/Properties.hpp
+++ b/ingen/Properties.hpp
@@ -67,13 +67,13 @@ public:
void put(const Raul::URI& key,
const Atom& value,
Graph ctx = Graph::DEFAULT) {
- insert(std::make_pair(key, Property(value, ctx)));
+ emplace(key, Property(value, ctx));
}
void put(const Raul::URI& key,
const URIs::Quark& value,
Graph ctx = Graph::DEFAULT) {
- insert(std::make_pair(key, Property(value, ctx)));
+ emplace(key, Property(value, ctx));
}
bool contains(const Raul::URI& key, const Atom& value) {