aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-11 23:31:28 +0000
committerDavid Robillard <d@drobilla.net>2011-05-11 23:31:28 +0000
commit14917b8a380adca86ebdb1b47db984a01bacf55e (patch)
tree30404e3c625ad42855b992b2be4a999bb45efbb8 /src
parent90fb61b6e4bf24ac86ade69cfefcce6548f18add (diff)
downloadmachina-14917b8a380adca86ebdb1b47db984a01bacf55e.tar.gz
machina-14917b8a380adca86ebdb1b47db984a01bacf55e.tar.bz2
machina-14917b8a380adca86ebdb1b47db984a01bacf55e.zip
Pass environment to sord write methods for CURIE abbreviation.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3255 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/engine/Loader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/Loader.cpp b/src/engine/Loader.cpp
index f38e210..a9d8fb2 100644
--- a/src/engine/Loader.cpp
+++ b/src/engine/Loader.cpp
@@ -73,7 +73,9 @@ Loader::load(const Glib::ustring& uri)
Created created;
Sord::Model model(_rdf_world, document_uri);
- model.load_file(document_uri);
+ SerdEnv* env = serd_env_new();
+ model.load_file(env, document_uri);
+ serd_env_free(env);
Sord::Node nil;