diff options
author | David Robillard <d@drobilla.net> | 2019-03-08 08:21:27 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-08 08:21:27 +0100 |
commit | 112eb3a668f65547b1757978b02cbafebf97b794 (patch) | |
tree | e40e3e7b145d8bca8496d42165ae2dce2bb627ea /src/server/ingen_lv2.cpp | |
parent | a758bd3a5ea0d1155b661db6c2d35466dff73fb0 (diff) | |
download | ingen-112eb3a668f65547b1757978b02cbafebf97b794.tar.gz ingen-112eb3a668f65547b1757978b02cbafebf97b794.tar.bz2 ingen-112eb3a668f65547b1757978b02cbafebf97b794.zip |
Make parser take mandatory arguments by reference
Diffstat (limited to 'src/server/ingen_lv2.cpp')
-rw-r--r-- | src/server/ingen_lv2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index 04cc5a33..c0749847 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -570,8 +570,8 @@ ingen_instantiate(const LV2_Descriptor* descriptor, // Parse graph, filling the queue with events to create it plugin->world->interface()->bundle_begin(); - plugin->world->parser()->parse_file(plugin->world, - plugin->world->interface().get(), + plugin->world->parser()->parse_file(*plugin->world, + *plugin->world->interface(), graph->filename); plugin->world->interface()->bundle_end(); @@ -771,7 +771,7 @@ ingen_restore(LV2_Handle instance, // Load new graph std::lock_guard<std::mutex> lock(plugin->world->rdf_mutex()); plugin->world->parser()->parse_file( - plugin->world, plugin->world->interface().get(), real_path); + *plugin->world, *plugin->world->interface(), real_path); free(real_path); return LV2_STATE_SUCCESS; |