From 14917b8a380adca86ebdb1b47db984a01bacf55e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 May 2011 23:31:28 +0000 Subject: 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 --- src/engine/Loader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1