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 --- src/gui/RDFS.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/RDFS.cpp') diff --git a/src/gui/RDFS.cpp b/src/gui/RDFS.cpp index 1a5e190a..b524aed7 100644 --- a/src/gui/RDFS.cpp +++ b/src/gui/RDFS.cpp @@ -210,9 +210,7 @@ instances(World* world, const URISet& types) continue; } const std::string label = RDFS::label(world, object); - result.insert( - std::make_pair(label, - Raul::URI(lilv_node_as_string(object)))); + result.emplace(label, Raul::URI(lilv_node_as_string(object))); } lilv_node_free(type); } -- cgit v1.2.1