From 9879baf23904b137d38311588a3692d7456870e2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Feb 2011 20:05:45 +0000 Subject: Sord::Resource => Sord::URI. Tidy up serialisation code. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2964 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/HTTPEngineSender.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/client') diff --git a/src/client/HTTPEngineSender.cpp b/src/client/HTTPEngineSender.cpp index ed69d7e0..6468deef 100644 --- a/src/client/HTTPEngineSender.cpp +++ b/src/client/HTTPEngineSender.cpp @@ -123,10 +123,9 @@ HTTPEngineSender::put(const URI& uri, Sord::Model model(_world); for (Resource::Properties::const_iterator i = properties.begin(); i != properties.end(); ++i) - model.add_statement( - Sord::Resource(_world, path), - AtomRDF::atom_to_node(model, i->first), - AtomRDF::atom_to_node(model, i->second)); + model.add_statement(Sord::URI(_world, path), + AtomRDF::atom_to_node(model, i->first), + AtomRDF::atom_to_node(model, i->second)); const string str = model.write_to_string("turtle"); SoupMessage* msg = soup_message_new(SOUP_METHOD_PUT, full_uri.c_str()); -- cgit v1.2.1