summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-17 18:42:46 +0000
committerDavid Robillard <d@drobilla.net>2010-12-17 18:42:46 +0000
commit2458ca4a1c81524d964749a69d60dbc641f84ca7 (patch)
treef29642b08494bae2130c7b8c20d188b90e6b9754 /src/serialisation
parent7de151038d0206c8de73fab7788d6bc80bda895f (diff)
downloadingen-2458ca4a1c81524d964749a69d60dbc641f84ca7.tar.gz
ingen-2458ca4a1c81524d964749a69d60dbc641f84ca7.tar.bz2
ingen-2458ca4a1c81524d964749a69d60dbc641f84ca7.zip
Simplify blank node ID stuff (and remove circular dependency of World and Node).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2744 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Serialiser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index a5ccaeae..a4ab5fa7 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -503,7 +503,7 @@ Serialiser::serialise_connection(SharedPtr<GraphObject> parent,
? instance_rdf_node(connection->dst_port_path())
: class_rdf_node(connection->dst_port_path());
- const Redland::Node connection_node = _world.rdf_world()->blank_id();
+ const Redland::Node connection_node = Redland::Node::blank_id(*_world.rdf_world());
_model->add_statement(connection_node, "ingen:source", src_node);
_model->add_statement(connection_node, "ingen:destination", dst_node);
if (parent) {