diff options
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Get.cpp | 8 |
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); } |