summaryrefslogtreecommitdiffstats
path: root/include/ingen/URI.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ingen/URI.hpp')
-rw-r--r--include/ingen/URI.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ingen/URI.hpp b/include/ingen/URI.hpp
index a45fb268..959f2290 100644
--- a/include/ingen/URI.hpp
+++ b/include/ingen/URI.hpp
@@ -40,7 +40,7 @@ public:
explicit URI(const char* str);
URI(const std::string& str, const URI& base);
URI(const Sord::Node& node);
- URI(SerdNode node);
+ URI(const SerdNode& node);
explicit URI(const FilePath& path);
URI(const URI& uri);
@@ -98,7 +98,7 @@ public:
}
private:
- URI(SerdNode node, SerdURI uri);
+ URI(const SerdNode& node, const SerdURI& uri);
static Chunk make_chunk(const SerdChunk& chunk) {
return {reinterpret_cast<const char*>(chunk.buf), chunk.len};