diff options
Diffstat (limited to 'test')
-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); |