diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-26 11:59:38 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-26 16:31:20 +0100 |
commit | e217a3a425ba72e8b6ce395e1ecd411fbe58e916 (patch) | |
tree | 0743ef4a95ed77580cb30c16d87256e0396614e9 /apt-pkg/sourcelist.cc | |
parent | a65b59abbb1772bcee23c6374cad884ca9a6f769 (diff) |
pkgSrcRecords::Parser: Fold Files2() into Files()
This is possible now with the API break. Cleaner code, woohoo.
Diffstat (limited to 'apt-pkg/sourcelist.cc')
-rw-r--r-- | apt-pkg/sourcelist.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/sourcelist.cc b/apt-pkg/sourcelist.cc index a3d693151..5be8fbc0c 100644 --- a/apt-pkg/sourcelist.cc +++ b/apt-pkg/sourcelist.cc @@ -571,8 +571,8 @@ bool pkgSourceList::AddVolatileFile(std::string const &File, std::vector<std::st else if (ext == "changes") { debDscRecordParser changes(File, nullptr); - std::vector<pkgSrcRecords::File2> fileslst; - if (changes.Files2(fileslst) == false || fileslst.empty()) + std::vector<pkgSrcRecords::File> fileslst; + if (changes.Files(fileslst) == false || fileslst.empty()) return false; auto const basedir = flNotFile(File); for (auto && file: fileslst) |