diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-06-16 16:22:46 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-06-16 16:22:46 +0200 |
commit | c8a4ce6cbed57ae108dc955d4a850f9b129a0693 (patch) | |
tree | 8e22e692a95f2c4b17de7d0d8f91bf584616a144 /apt-pkg/acquire-method.h | |
parent | 533fe3d13927798c17bdef84eba60ed9441d9608 (diff) |
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/acquire-method.h')
-rw-r--r-- | apt-pkg/acquire-method.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apt-pkg/acquire-method.h b/apt-pkg/acquire-method.h index 6480eb4b5..f6659ef1f 100644 --- a/apt-pkg/acquire-method.h +++ b/apt-pkg/acquire-method.h @@ -1,6 +1,5 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire-method.h,v 1.15.2.1 2003/12/24 23:09:17 mdz Exp $ /* ###################################################################### Acquire Method - Method helper class + functions @@ -53,6 +52,11 @@ class pkgAcqMethod // for when we know it or a arbitrary limit when we don't know the // filesize (like a InRelease file) unsigned long long MaximumSize; + + FetchItem(); + virtual ~FetchItem(); + private: + void *d; }; struct FetchResult @@ -67,6 +71,9 @@ class pkgAcqMethod void TakeHashes(class Hashes &Hash); FetchResult(); + virtual ~FetchResult(); + private: + void *d; }; // State |