From fe7c6fee348a3263ce0c97a83547749725f681cb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 8 Feb 2014 13:21:50 +0100 Subject: ArchivePlugin: pass Path to open() --- test/visit_archive.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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); -- cgit v1.2.3