summaryrefslogtreecommitdiffstats
path: root/src/gui/RDFS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/RDFS.cpp')
-rw-r--r--src/gui/RDFS.cpp4
1 files changed, 1 insertions, 3 deletions
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);
}