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-private/private-source.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-private/private-source.cc')
-rw-r--r-- | apt-private/private-source.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc index c8a48a74a..48c9d8094 100644 --- a/apt-private/private-source.cc +++ b/apt-private/private-source.cc @@ -383,14 +383,14 @@ bool DoSource(CommandLine &CmdL) } // Back track - std::vector<pkgSrcRecords::File2> Lst; - if (Last->Files2(Lst) == false) { + std::vector<pkgSrcRecords::File> Lst; + if (Last->Files(Lst) == false) { return false; } DscFile curDsc; // Load them into the fetcher - for (std::vector<pkgSrcRecords::File2>::const_iterator I = Lst.begin(); + for (std::vector<pkgSrcRecords::File>::const_iterator I = Lst.begin(); I != Lst.end(); ++I) { // Try to guess what sort of file it is we are getting. |