summaryrefslogtreecommitdiffstats
path: root/src/server/EventWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/EventWriter.cpp')
-rw-r--r--src/server/EventWriter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/EventWriter.cpp b/src/server/EventWriter.cpp
index 2b1b1bf6..a169e389 100644
--- a/src/server/EventWriter.cpp
+++ b/src/server/EventWriter.cpp
@@ -117,7 +117,9 @@ EventWriter::set_property(const Raul::URI& uri,
const Raul::Atom& value)
{
Resource::Properties remove;
- remove.insert(make_pair(predicate, _engine.world()->uris().wildcard));
+ remove.insert(
+ make_pair(predicate,
+ Resource::Property(_engine.world()->uris().wildcard)));
Resource::Properties add;
add.insert(make_pair(predicate, value));
_engine.enqueue_event(