diff options
author | David Robillard <d@drobilla.net> | 2025-01-10 11:33:20 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-10 11:33:20 -0500 |
commit | 3aac59a341b8164b41272aac920c3fdb8c4bb858 (patch) | |
tree | 60ff3b5d2c24a634fb2e33ff538ae8978c2ba8ec /include/sord/sordmm.hpp | |
parent | e1671ccdda0b501e27dd5afdbe05bb31656409a3 (diff) | |
download | sord-3aac59a341b8164b41272aac920c3fdb8c4bb858.tar.gz sord-3aac59a341b8164b41272aac920c3fdb8c4bb858.tar.bz2 sord-3aac59a341b8164b41272aac920c3fdb8c4bb858.zip |
Pass string parameter by const reference
This avoids a cppcheck warning.
Diffstat (limited to 'include/sord/sordmm.hpp')
-rw-r--r-- | include/sord/sordmm.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sord/sordmm.hpp b/include/sord/sordmm.hpp index b1226d6..3a7c0ea 100644 --- a/include/sord/sordmm.hpp +++ b/include/sord/sordmm.hpp @@ -92,7 +92,7 @@ public: serd_env_set_prefix(_c_obj, &name_node, &uri_node); } - inline std::string qualify(std::string uri) const + inline std::string qualify(const std::string& uri) const { const SerdNode uri_node = string_to_node(SERD_URI, uri); SerdNode prefix; |