summaryrefslogtreecommitdiffstats
path: root/src/engine/QueuedEngineInterface.cpp
diff options
context:
space:
mode:
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 //