View | Details | Raw Unified | Return to bug 9604
Collapse All | Expand All

(-)apt-0.5.15lorg2-orig/apt-pkg/cacheiterators.h (+2 lines)
Lines 258-263 Link Here
258
   inline PkgIterator OwnerPkg() {return PkgIterator(*Owner,Owner->PkgP + Owner->VerP[Prv->Version].ParentPkg);};
258
   inline PkgIterator OwnerPkg() {return PkgIterator(*Owner,Owner->PkgP + Owner->VerP[Prv->Version].ParentPkg);};
259
   inline unsigned long Index() const {return Prv - Owner->ProvideP;};
259
   inline unsigned long Index() const {return Prv - Owner->ProvideP;};
260
260
261
   inline PrvIterator() : Prv(0), Type(PrvVer), Owner(0)  {};
262
261
   inline PrvIterator(pkgCache &Owner,Provides *Trg,Version *) :
263
   inline PrvIterator(pkgCache &Owner,Provides *Trg,Version *) :
262
          Prv(Trg), Type(PrvVer), Owner(&Owner) 
264
          Prv(Trg), Type(PrvVer), Owner(&Owner) 
263
   {
265
   {

Return to bug 9604