]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgrecords.cc
Do not download Packages/Sources files on I-M-S hit of the Release file
[apt.git] / apt-pkg / pkgrecords.cc
index c5b3bebd70ba5e2f3f6a4782c60eec3d2717889d..859af3a0921a0bc58d1d663c3f0fbaaf5a2fa9a3 100644 (file)
 #include <apt-pkg/pkgrecords.h>
 #include <apt-pkg/indexfile.h>
 #include <apt-pkg/error.h>
-#include <apt-pkg/configuration.h>
+#include <apt-pkg/pkgcache.h>
+#include <apt-pkg/cacheiterators.h>
+
+#include <stddef.h>
+#include <vector>
 
 #include <apti18n.h>
                                                                        /*}}}*/
@@ -22,7 +26,7 @@
 // Records::pkgRecords - Constructor                                   /*{{{*/
 // ---------------------------------------------------------------------
 /* This will create the necessary structures to access the status files */
-pkgRecords::pkgRecords(pkgCache &Cache) : Cache(Cache), 
+pkgRecords::pkgRecords(pkgCache &aCache) : d(NULL), Cache(aCache),
   Files(Cache.HeaderP->PackageFileCount)
 {
    for (pkgCache::PkgFileIterator I = Cache.FileBegin();