From 112eb3a668f65547b1757978b02cbafebf97b794 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Mar 2019 08:21:27 +0100 Subject: Make parser take mandatory arguments by reference --- tests/ingen_bench.cpp | 2 +- tests/ingen_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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; } -- cgit v1.2.1