summaryrefslogtreecommitdiffstats
path: root/tests/ingen_bench.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-18 00:45:27 +0100
committerDavid Robillard <d@drobilla.net>2019-01-12 18:20:04 +0100
commit8c19e157e148efb59d6ea2f815783755b6075c7e (patch)
tree094a95326138dd3a46cbd52b84981e36faebc64a /tests/ingen_bench.cpp
parent967a8b9d6690a5ece385d07af04c322d645de23f (diff)
downloadingen-8c19e157e148efb59d6ea2f815783755b6075c7e.tar.gz
ingen-8c19e157e148efb59d6ea2f815783755b6075c7e.tar.bz2
ingen-8c19e157e148efb59d6ea2f815783755b6075c7e.zip
Rename Atom::get_body to Atom::body and use Atom::ptr consistently
Diffstat (limited to 'tests/ingen_bench.cpp')
-rw-r--r--tests/ingen_bench.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ingen_bench.cpp b/tests/ingen_bench.cpp
index 2ac1f5f1..a21601f1 100644
--- a/tests/ingen_bench.cpp
+++ b/tests/ingen_bench.cpp
@@ -82,11 +82,11 @@ main(int argc, char** argv)
}
// Get start graph and output file options
- const std::string start_graph = real_path((const char*)load.get_body());
- const std::string out_file = (const char*)out.get_body();
+ const std::string start_graph = real_path(load.ptr<char>());
+ const std::string out_file = out.ptr<char>();
if (start_graph.empty()) {
cerr << "error: initial graph '"
- << ((const char*)load.get_body())
+ << load.ptr<char>()
<< "' does not exist" << endl;
return EXIT_FAILURE;
}