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 /src/UpdateArchive.cxx | |
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-- | src/UpdateArchive.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UpdateArchive.cxx b/src/UpdateArchive.cxx index 41a73b421..133dfd476 100644 --- a/src/UpdateArchive.cxx +++ b/src/UpdateArchive.cxx @@ -27,6 +27,7 @@ #include "fs/Path.hxx" #include "ArchiveList.hxx" #include "ArchivePlugin.hxx" +#include "ArchiveFile.hxx" #include "ArchiveVisitor.hxx" #include <glib.h> @@ -136,9 +137,8 @@ update_archive_file2(Directory *parent, const char *name, }; UpdateArchiveVisitor visitor(directory); - archive_file_visit(file, visitor); - - archive_file_close(file); + file->Visit(visitor); + file->Close(); } bool |