]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.h
apt-pkg/acquire-item.h: add default argument to ExpectedHashes to avoid API break
[apt.git] / apt-pkg / sourcelist.h
index 9df0c1d7419c3fbd46e38fef1d113fbd8e06b067..261dd81613739286ecb2d2bdec625d37317c0b82 100644 (file)
@@ -52,7 +52,15 @@ class pkgAcquire;
 class pkgIndexFile;
 class metaIndex;
 
-class pkgSourceList
+class pkgSource
+{
+   protected:
+
+   std::vector<metaIndex *> SrcList;
+
+};
+
+class pkgSourceList : public pkgSource
 {
    public:
    
@@ -86,7 +94,7 @@ class pkgSourceList
    
    typedef std::vector<metaIndex *>::const_iterator const_iterator;
    
-   protected:
+   public:
 
    std::vector<metaIndex *> SrcList;