diff options
author | Max Kellermann <max@duempel.org> | 2014-02-08 13:21:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-08 13:25:44 +0100 |
commit | fe7c6fee348a3263ce0c97a83547749725f681cb (patch) | |
tree | 9773e269458ed7847fa9d566a20dfdd6db89b59a /test | |
parent | 9906daeca71b7e552721f85f3696d9e6a20f7a5b (diff) | |
download | mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.tar.gz mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.tar.xz mpd-fe7c6fee348a3263ce0c97a83547749725f681cb.zip |
ArchivePlugin: pass Path to open()
Diffstat (limited to 'test')
-rw-r--r-- | test/visit_archive.cxx | 2 |
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); |