From a091efde0ab75c2ec2bfbb42cad083287fa891bc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 May 2011 16:15:45 +0000 Subject: Update for new Serd API git-svn-id: http://svn.drobilla.net/sord/trunk@106 3d64ff67-21c5-427c-a301-fe4f08042e5a --- sord/sordmm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sord') 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 { -- cgit v1.2.1