diff options
author | David Robillard <d@drobilla.net> | 2011-02-16 20:05:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-16 20:05:45 +0000 |
commit | 9879baf23904b137d38311588a3692d7456870e2 (patch) | |
tree | bc9f2ccc709134975f915432acf65df36d172008 /src/client | |
parent | 2c312daa5bf150e8314e0a48769afb184dd95f54 (diff) | |
download | ingen-9879baf23904b137d38311588a3692d7456870e2.tar.gz ingen-9879baf23904b137d38311588a3692d7456870e2.tar.bz2 ingen-9879baf23904b137d38311588a3692d7456870e2.zip |
Sord::Resource => Sord::URI.
Tidy up serialisation code.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2964 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/HTTPEngineSender.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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()); |