summaryrefslogtreecommitdiff
path: root/apt-pkg/indexfile.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-06-16 16:22:46 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-06-16 16:22:46 +0200
commitc8a4ce6cbed57ae108dc955d4a850f9b129a0693 (patch)
tree8e22e692a95f2c4b17de7d0d8f91bf584616a144 /apt-pkg/indexfile.h
parent533fe3d13927798c17bdef84eba60ed9441d9608 (diff)
downloadapt-c8a4ce6cbed57ae108dc955d4a850f9b129a0693.tar.gz
add d-pointer, virtual destructors and de-inline de/constructors
To have a chance to keep the ABI for a while we need all three to team up. One of them missing and we might loose, so ensuring that they are available is a very tedious but needed task once in a while. Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/indexfile.h')
-rw-r--r--apt-pkg/indexfile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h
index 042e5c2f7..c51879bb8 100644
--- a/apt-pkg/indexfile.h
+++ b/apt-pkg/indexfile.h
@@ -1,6 +1,5 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: indexfile.h,v 1.6.2.1 2003/12/24 23:09:17 mdz Exp $
/* ######################################################################
Index File - Abstraction for an index of archive/source file.
@@ -90,6 +89,7 @@ class IndexTarget /*{{{*/
class pkgIndexFile
{
+ void *d;
protected:
bool Trusted;
@@ -145,11 +145,12 @@ class pkgIndexFile
bool IsTrusted() const { return Trusted; };
pkgIndexFile(bool Trusted);
- virtual ~pkgIndexFile() {};
+ virtual ~pkgIndexFile();
};
class pkgIndexTargetFile : public pkgIndexFile
{
+ void *d;
protected:
IndexTarget const Target;
@@ -162,6 +163,7 @@ public:
virtual unsigned long Size() const;
pkgIndexTargetFile(IndexTarget const &Target, bool const Trusted);
+ virtual ~pkgIndexTargetFile();
};
#endif