summaryrefslogtreecommitdiffstats
path: root/src/libs/serialisation
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-06 13:39:42 +0000
committerDavid Robillard <d@drobilla.net>2008-09-06 13:39:42 +0000
commit9226f7eca0a80ca15d509fbfa138b976140f0ba5 (patch)
treed32bf3b08a2eb5844a3dbe4c551a38e3dedcde59 /src/libs/serialisation
parent72747143684f714b05dd2a5fe284a497b6aea6af (diff)
downloadingen-9226f7eca0a80ca15d509fbfa138b976140f0ba5.tar.gz
ingen-9226f7eca0a80ca15d509fbfa138b976140f0ba5.tar.bz2
ingen-9226f7eca0a80ca15d509fbfa138b976140f0ba5.zip
Voodoo debugging.
git-svn-id: http://svn.drobilla.net/lad/ingen@1470 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/serialisation')
-rw-r--r--src/libs/serialisation/Parser.cpp4
1 files changed, 2 insertions, 2 deletions
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] != '/')