diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-02-02 22:37:01 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-02-02 22:37:01 +0100 |
commit | ff72bd0dc7bd4d3bb6979e70d7bca9a07d28af28 (patch) | |
tree | 3a574bfabb9046dcce9098e974cc988fb1e40c86 /apt-pkg/deb/debmetaindex.h | |
parent | be9b62f76406cf2546d21f3ca27587ee20e0fc37 (diff) |
apt-pkg/deb/*: add placeholder dpointer and make destructors virtual
Diffstat (limited to 'apt-pkg/deb/debmetaindex.h')
-rw-r--r-- | apt-pkg/deb/debmetaindex.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/deb/debmetaindex.h b/apt-pkg/deb/debmetaindex.h index 360fa5419..ffcc7c4bb 100644 --- a/apt-pkg/deb/debmetaindex.h +++ b/apt-pkg/deb/debmetaindex.h @@ -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; |