diff options
author | David Robillard <d@drobilla.net> | 2011-05-06 16:15:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-06 16:15:45 +0000 |
commit | a091efde0ab75c2ec2bfbb42cad083287fa891bc (patch) | |
tree | ef46a7aebe9606262abba249ffdcbce89a00a41d /sord | |
parent | 1e636d1b28296511d7852b700c4ee9cc136fb7ec (diff) | |
download | sord-a091efde0ab75c2ec2bfbb42cad083287fa891bc.tar.gz sord-a091efde0ab75c2ec2bfbb42cad083287fa891bc.tar.bz2 sord-a091efde0ab75c2ec2bfbb42cad083287fa891bc.zip |
Update for new Serd API
git-svn-id: http://svn.drobilla.net/sord/trunk@106 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r-- | sord/sordmm.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index 8977dc1..5345b92 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -75,7 +75,7 @@ public: const std::string& uri) { const SerdNode name_node = string_to_node(SERD_LITERAL, name); const SerdNode uri_node = string_to_node(SERD_URI, uri); - serd_env_add(_c_obj, &name_node, &uri_node); + serd_env_set_prefix(_c_obj, &name_node, &uri_node); } inline std::string qualify(std::string uri) const { |