summaryrefslogtreecommitdiffstats
path: root/src/engine/QueuedEngineInterface.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-28 14:48:27 +0000
committerDavid Robillard <d@drobilla.net>2009-05-28 14:48:27 +0000
commit41a3a7891b94628cf37cc3e1412be63f12b6f674 (patch)
tree29fb8fc12f728b9a66bd683e2bec8af09f12bb23 /src/engine/QueuedEngineInterface.cpp
parent46b2e1598ed75319735893ed039ac669aca2d8a7 (diff)
downloadingen-41a3a7891b94628cf37cc3e1412be63f12b6f674.tar.gz
ingen-41a3a7891b94628cf37cc3e1412be63f12b6f674.tar.bz2
ingen-41a3a7891b94628cf37cc3e1412be63f12b6f674.zip
Remove single property SetMetadataEvent constructor.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2020 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/QueuedEngineInterface.cpp')
-rw-r--r--src/engine/QueuedEngineInterface.cpp4
1 files changed, 3 insertions, 1 deletions
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 //