From 9226f7eca0a80ca15d509fbfa138b976140f0ba5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Sep 2008 13:39:42 +0000 Subject: Voodoo debugging. git-svn-id: http://svn.drobilla.net/lad/ingen@1470 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/serialisation/Parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs') diff --git a/src/libs/serialisation/Parser.cpp b/src/libs/serialisation/Parser.cpp index 8e158d05..aed49a38 100644 --- a/src/libs/serialisation/Parser.cpp +++ b/src/libs/serialisation/Parser.cpp @@ -147,8 +147,8 @@ Parser::parse( bool ret = false; for (Redland::Query::Results::iterator i = results.begin(); i != results.end(); ++i) { - const Redland::Node subject = (object_uri ? subject_uri : (*i)["subject"]); - const Redland::Node rdf_class = (*i)["class"]; + const Redland::Node& subject = (object_uri ? subject_uri : (*i)["subject"]); + const Redland::Node& rdf_class = (*i)["class"]; if (!object_uri) { std::string path_str = uri_relative_to_base(base_uri, subject.to_c_string()); if (path_str[0] != '/') -- cgit v1.2.1