]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.h
Merge branch 'debian/jessie' into debian/experimental
[apt.git] / apt-pkg / sourcelist.h
index 4943dd32acb93f50ca075f3de6fd184b745a22b9..9983575092f25d4fbb337104b28c028464b680b3 100644 (file)
@@ -55,12 +55,12 @@ class metaIndex;
 class pkgSourceList
 {
    public:
-   
+
    // List of supported source list types
    class Type
    {
       public:
-      
+
       // Global list of Items supported
       static Type **GlobalList;
       static unsigned long GlobalListLen;
@@ -83,9 +83,9 @@ class pkgSourceList
       Type();
       virtual ~Type() {};
    };
-   
+
    typedef std::vector<metaIndex *>::const_iterator const_iterator;
-   
+
    protected:
 
    std::vector<metaIndex *> SrcList;
@@ -116,11 +116,6 @@ class pkgSourceList
    // query last-modified time
    time_t GetLastModifiedTime();
 
-   // Add custom metaIndex (e.g. local files)
-   void Add(metaIndex *mi) {
-      SrcList.push_back(mi);
-   }
-
    pkgSourceList();
    pkgSourceList(std::string File);
    ~pkgSourceList();