diff options
-rw-r--r-- | src/libs/serialisation/Parser.cpp | 4 |
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] != '/') |