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 /tests | |
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 'tests')
-rw-r--r-- | tests/ingen_bench.cpp | 2 | ||||
-rw-r--r-- | tests/ingen_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ingen_bench.cpp b/tests/ingen_bench.cpp index 2ac1f5f1..c51b4d79 100644 --- a/tests/ingen_bench.cpp +++ b/tests/ingen_bench.cpp @@ -102,7 +102,7 @@ main(int argc, char** argv) world->engine()->activate(); // Load graph - if (!world->parser()->parse_file(world, world->interface().get(), start_graph)) { + if (!world->parser()->parse_file(*world, *world->interface(), start_graph)) { cerr << "error: failed to load initial graph " << start_graph << endl; return EXIT_FAILURE; } diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index f0e92d30..3a566084 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -108,7 +108,7 @@ main(int argc, char** argv) world->engine()->activate(); // Load graph - if (!world->parser()->parse_file(world, world->interface().get(), start_graph)) { + if (!world->parser()->parse_file(*world, *world->interface(), start_graph)) { cerr << "error: failed to load initial graph " << start_graph << endl; return EXIT_FAILURE; } |