diff options
Diffstat (limited to 'tests/ingen_bench.cpp')
-rw-r--r-- | tests/ingen_bench.cpp | 6 |
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; } |