diff options
Diffstat (limited to 'src/AtomReader.cpp')
-rw-r--r-- | src/AtomReader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp index c9f2f3ac..c7ef6e74 100644 --- a/src/AtomReader.cpp +++ b/src/AtomReader.cpp @@ -288,8 +288,8 @@ AtomReader::write(const LV2_Atom* msg) return false; } - boost::optional<Raul::Path> subject_path(atom_to_path(subject)); - if (!subject_path) { + boost::optional<Raul::URI> subject_uri(atom_to_uri(subject)); + if (!subject_uri) { _log.warn("Copy message has non-path subject\n"); return false; } @@ -300,7 +300,7 @@ AtomReader::write(const LV2_Atom* msg) return false; } - _iface.copy(*subject_path, *dest_uri); + _iface.copy(*subject_uri, *dest_uri); } else if (obj->body.otype == _uris.patch_Move) { if (!subject) { _log.warn("Move message has no subject\n"); |