]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.cc
add new "Acquire::cdrom::AutoDetect" config that enables/disables
[apt.git] / apt-pkg / pkgcache.cc
index b0ce6e5989728f351b5428beddfade624525d37c..e8ee75b9618934b9e04f4de365be247cc14be547 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;