From 90fca083052880479ad90d870e556f0648e32106 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jan 2018 00:41:34 +0100 Subject: Replace insert(make_pair(...)) with emplace --- ingen/Properties.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ingen') 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) { -- cgit v1.2.1