|
|
@@ -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;
|