From 16afdfd8747a1bd5af2d1acb4e0845bf9d0b89e7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2013 23:36:58 +0100 Subject: ArchivePlugin: move instance methods to class ArchiveFile --- test/visit_archive.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/visit_archive.cxx b/test/visit_archive.cxx index eba715c5..6faf4f3a 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); -- cgit v1.2.3