diff options
author | Max Kellermann <max@duempel.org> | 2013-01-29 23:36:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 15:30:19 +0100 |
commit | 16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7 (patch) | |
tree | 39afbcabd53af0000a8b200301bbfc1178fdadd5 /test | |
parent | 701fff03d27be629f416534744217eadbde11da4 (diff) | |
download | mpd-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.cxx | 4 |
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); |