From 2458ca4a1c81524d964749a69d60dbc641f84ca7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Dec 2010 18:42:46 +0000 Subject: 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 --- src/serialisation/Serialiser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/serialisation') 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 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) { -- cgit v1.2.1