aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-29 23:36:58 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 15:30:19 +0100
commit16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7 (patch)
tree39afbcabd53af0000a8b200301bbfc1178fdadd5 /test
parent701fff03d27be629f416534744217eadbde11da4 (diff)
downloadmpd-16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7.tar.gz
mpd-16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7.tar.xz
mpd-16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7.zip
ArchivePlugin: move instance methods to class ArchiveFile
Diffstat (limited to '')
-rw-r--r--test/visit_archive.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/visit_archive.cxx b/test/visit_archive.cxx
index eba715c57..6faf4f3ae 100644
--- a/test/visit_archive.cxx
+++ b/test/visit_archive.cxx
@@ -101,8 +101,8 @@ main(int argc, char **argv)
ArchiveFile *file = archive_file_open(plugin, path.c_str(), &error);
if (file != nullptr) {
MyArchiveVisitor visitor;
- archive_file_visit(file, visitor);
- archive_file_close(file);
+ file->Visit(visitor);
+ file->Close();
} else {
fprintf(stderr, "%s\n", error->message);
g_error_free(error);