aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/visit_archive.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/visit_archive.cxx b/test/visit_archive.cxx
index 0f60b8414..d4854d8f1 100644
--- a/test/visit_archive.cxx
+++ b/test/visit_archive.cxx
@@ -85,7 +85,7 @@ main(int argc, char **argv)
int result = EXIT_SUCCESS;
- ArchiveFile *file = archive_file_open(plugin, path.c_str(), error);
+ ArchiveFile *file = archive_file_open(plugin, path, error);
if (file != nullptr) {
MyArchiveVisitor visitor;
file->Visit(visitor);