From 41a3a7891b94628cf37cc3e1412be63f12b6f674 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 May 2009 14:48:27 +0000 Subject: Remove single property SetMetadataEvent constructor. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2020 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/QueuedEngineInterface.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/engine/QueuedEngineInterface.cpp') diff --git a/src/engine/QueuedEngineInterface.cpp b/src/engine/QueuedEngineInterface.cpp index 7d9a8dcc..7c989723 100644 --- a/src/engine/QueuedEngineInterface.cpp +++ b/src/engine/QueuedEngineInterface.cpp @@ -269,7 +269,9 @@ QueuedEngineInterface::set_property(const URI& uri, size_t hash = uri.find("#"); bool meta = (hash != string::npos); Path path = meta ? (string("/") + path.chop_start("/")) : uri.str(); - push_queued(new SetMetadataEvent(_engine, _responder, now(), meta, path, predicate, value)); + Resource::Properties properties; + properties.insert(make_pair(predicate, value)); + push_queued(new SetMetadataEvent(_engine, _responder, now(), meta, path, properties)); } // Requests // -- cgit v1.2.1