]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.cc
replace the per language addendum with a global addendum and
[apt.git] / apt-pkg / pkgcache.cc
index 997ff51fe32cbce0db9ccb44205faa634b288f67..eb7e4957a0eec5f23ccc925e1510bdf148d07630 100644 (file)
@@ -298,7 +298,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;