diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Serialiser.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp index 38a2c860..36d4a87f 100644 --- a/src/Serialiser.cpp +++ b/src/Serialiser.cpp @@ -277,7 +277,7 @@ Serialiser::Impl::path_rdf_node(const Raul::Path& path) } void -Serialiser::serialise(SPtr<const Node> object) +Serialiser::serialise(SPtr<const Node> object, Resource::Graph context) { if (!me->_model) { throw std::logic_error("serialise called without serialisation in progress"); @@ -289,9 +289,8 @@ Serialiser::serialise(SPtr<const Node> object) const Sord::URI plugin_id(me->_model->world(), object->plugin()->uri()); me->serialise_block(object, plugin_id, me->path_rdf_node(object->path())); } else if (object->graph_type() == Node::GraphType::PORT) { - me->serialise_port(object.get(), - Resource::Graph::DEFAULT, - me->path_rdf_node(object->path())); + me->serialise_port( + object.get(), context, me->path_rdf_node(object->path())); } else { me->serialise_properties(me->path_rdf_node(object->path()), object->properties()); |