diff options
author | Julian Andres Klode <jak@debian.org> | 2020-02-26 14:51:05 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2020-02-26 14:51:05 +0000 |
commit | a096b580694cb36f29cdbce8f1db797a08e36709 (patch) | |
tree | 8a1bf6106868761042c80e04fdeff1077779ac18 /apt-pkg/indexfile.cc | |
parent | b31040e9c1441a2a7296ce3ff12f5052fc522366 (diff) | |
parent | da01dabb86396a1391f081fa54a806e2d7b62133 (diff) |
Merge branch 'pu/cleanups' into 'master'
Cleanup ABI - make stuff virtual, etc
See merge request apt-team/apt!106
Diffstat (limited to 'apt-pkg/indexfile.cc')
-rw-r--r-- | apt-pkg/indexfile.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apt-pkg/indexfile.cc b/apt-pkg/indexfile.cc index a7290c653..ef3486ab8 100644 --- a/apt-pkg/indexfile.cc +++ b/apt-pkg/indexfile.cc @@ -65,11 +65,8 @@ pkgIndexFile::pkgIndexFile(bool const Trusted) : /*{{{*/ } /*}}}*/ // IndexFile::ArchiveInfo - Stub /*{{{*/ -std::string pkgIndexFile::ArchiveInfo(pkgCache::VerIterator const &Ver) const +std::string pkgIndexFile::ArchiveInfo(pkgCache::VerIterator const &) const { - debDebPkgFileIndex const * const debfile = dynamic_cast<debDebPkgFileIndex const*>(this); - if (debfile != nullptr) - return debfile->ArchiveInfo_impl(Ver); return std::string(); } /*}}}*/ |