diff options
author | David Robillard <d@drobilla.net> | 2019-03-08 21:12:35 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-09 00:43:44 +0100 |
commit | 50b5df8e10ecb32b2691dd3871de92539766d451 (patch) | |
tree | dc8810eb35d835eba7c031e0cc5636abc76b263c /src/server/events | |
parent | 2d76872a6c2d55df18c44ed39fc3a6cbfa3d2ea3 (diff) | |
download | ingen-50b5df8e10ecb32b2691dd3871de92539766d451.tar.gz ingen-50b5df8e10ecb32b2691dd3871de92539766d451.tar.bz2 ingen-50b5df8e10ecb32b2691dd3871de92539766d451.zip |
Make start_to_file() take a FilePath for type safety
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Copy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp index 9fa3deed..38cbc6d8 100644 --- a/src/server/events/Copy.cpp +++ b/src/server/events/Copy.cpp @@ -157,7 +157,8 @@ Copy::engine_to_filesystem(PreProcessContext& ctx) if (ends_with(_msg.new_uri, ".ingen") || ends_with(_msg.new_uri, ".ingen/")) { _engine.world().serialiser()->write_bundle(graph, URI(_msg.new_uri)); } else { - _engine.world().serialiser()->start_to_file(graph->path(), _msg.new_uri); + _engine.world().serialiser()->start_to_file(graph->path(), + _msg.new_uri.file_path()); _engine.world().serialiser()->serialise(graph); _engine.world().serialiser()->finish(); } |