]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debmetaindex.h
apt-pkg/deb/*: add placeholder dpointer and make destructors virtual
[apt.git] / apt-pkg / deb / debmetaindex.h
index 360fa5419a73a6ecf1075369c9f74f244dd8d232..ffcc7c4bb3c98004d5861487e773b142b1648b72 100644 (file)
@@ -19,12 +19,14 @@ class debReleaseIndex : public metaIndex {
    };
 
    private:
+   /** \brief dpointer placeholder (for later in case we need it) */
+   void *d;
    std::map<string, vector<debSectionEntry const*> > ArchEntries;
 
    public:
 
    debReleaseIndex(string const &URI, string const &Dist);
-   ~debReleaseIndex();
+   virtual ~debReleaseIndex();
 
    virtual string ArchiveURI(string const &File) const {return URI + File;};
    virtual bool GetIndexes(pkgAcquire *Owner, bool const &GetAll=false) const;