diff options
author | David Robillard <d@drobilla.net> | 2023-05-02 00:48:29 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-02 16:24:03 -0400 |
commit | 4e72044bbd2776ccac6f8cb56fc0e744cc9730c0 (patch) | |
tree | 60982c8f108e36de92ded5068286cdb28dd43f60 /src/Parser.cpp | |
parent | 8035015f9e583f483279d306b9bae6096c0bd357 (diff) | |
download | ingen-4e72044bbd2776ccac6f8cb56fc0e744cc9730c0.tar.gz ingen-4e72044bbd2776ccac6f8cb56fc0e744cc9730c0.tar.bz2 ingen-4e72044bbd2776ccac6f8cb56fc0e744cc9730c0.zip |
Fix relative URI creation with newer serd
Diffstat (limited to 'src/Parser.cpp')
-rw-r--r-- | src/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Parser.cpp b/src/Parser.cpp index c66f852d..89e23274 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -91,7 +91,7 @@ Parser::find_resources(Sord::World& world, static std::optional<raul::Path> get_path(const URI& base, const URI& uri) { - const URI relative = uri.make_relative(base); + const URI relative = uri.make_relative(base, base); const std::string uri_str = "/" + relative.string(); return raul::Path::is_valid(uri_str) ? raul::Path(uri_str) : std::optional<raul::Path>(); |