summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-08-29 04:00:54 +0000
committerDavid Robillard <d@drobilla.net>2015-08-29 04:00:54 +0000
commit67dea1f9cf0dbce6be323949557eab3254dc3592 (patch)
treeaade64be34c81221c87fb6c46f3945d7d9262001 /src/server/events
parent177056dd73054d020ba4e6dae393850d779ac7e5 (diff)
downloadingen-67dea1f9cf0dbce6be323949557eab3254dc3592.tar.gz
ingen-67dea1f9cf0dbce6be323949557eab3254dc3592.tar.bz2
ingen-67dea1f9cf0dbce6be323949557eab3254dc3592.zip
Avoid map::emplace to accomodate old GCC.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5714 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Get.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/events/Get.cpp b/src/server/events/Get.cpp
index 185f275a..6d49657d 100644
--- a/src/server/events/Get.cpp
+++ b/src/server/events/Get.cpp
@@ -118,10 +118,10 @@ Get::Response::put_preset(const URIs& uris,
const Raul::URI& preset,
const std::string& label)
{
- Resource::Properties props;
- props.emplace(uris.rdf_type, uris.pset_Preset.urid);
- props.emplace(uris.rdfs_label, uris.forge.alloc(label));
- props.emplace(uris.lv2_appliesTo, uris.forge.make_urid(plugin));
+ Resource::Properties props{
+ { uris.rdf_type, uris.pset_Preset.urid },
+ { uris.rdfs_label, uris.forge.alloc(label) },
+ { uris.lv2_appliesTo, uris.forge.make_urid(plugin) }};
put(preset, props);
}