summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debrecords.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-02-02 22:37:01 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-02-02 22:37:01 +0100
commitff72bd0dc7bd4d3bb6979e70d7bca9a07d28af28 (patch)
tree3a574bfabb9046dcce9098e974cc988fb1e40c86 /apt-pkg/deb/debrecords.h
parentbe9b62f76406cf2546d21f3ca27587ee20e0fc37 (diff)
apt-pkg/deb/*: add placeholder dpointer and make destructors virtual
Diffstat (limited to 'apt-pkg/deb/debrecords.h')
-rw-r--r--apt-pkg/deb/debrecords.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/deb/debrecords.h b/apt-pkg/deb/debrecords.h
index 6f358abfa..bbcb5640d 100644
--- a/apt-pkg/deb/debrecords.h
+++ b/apt-pkg/deb/debrecords.h
@@ -20,6 +20,9 @@
class debRecordParser : public pkgRecords::Parser
{
+ /** \brief dpointer placeholder (for later in case we need it) */
+ void *d;
+
FileFd File;
pkgTagFile Tags;
pkgTagSection Section;
@@ -49,6 +52,7 @@ class debRecordParser : public pkgRecords::Parser
virtual void GetRec(const char *&Start,const char *&Stop);
debRecordParser(string FileName,pkgCache &Cache);
+ virtual ~debRecordParser() {};
};
#endif