diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-02-17 22:09:25 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-02-17 22:09:25 +0100 |
commit | 762d7367f5f74f877ec75986e19fc9d46eef5164 (patch) | |
tree | c5ce3f772f278f752ea8c08c2281c9a0b89bddaf /apt-pkg/pkgcache.cc | |
parent | ac83edae692c6c7dda7e41e3b27f5cbff0473629 (diff) | |
parent | 07f2526e45f9978201817237745727db6177c29a (diff) |
merged from debian-sid
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r-- | apt-pkg/pkgcache.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc index b0ce6e598..4a0f3ee58 100644 --- a/apt-pkg/pkgcache.cc +++ b/apt-pkg/pkgcache.cc @@ -35,7 +35,6 @@ #include <unistd.h> #include <ctype.h> -#include <system.h> /*}}}*/ using std::string; @@ -298,7 +297,7 @@ const char * pkgCache::PkgIterator::CandVersion() const { //TargetVer is empty, so don't use it. - VerIterator version = pkgPolicy::pkgPolicy(Owner).GetCandidateVer(*this); + VerIterator version = pkgPolicy(Owner).GetCandidateVer(*this); if (version.IsGood()) return version.VerStr(); return 0; |