summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-02-02 22:30:45 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-02-02 22:30:45 +0100
commitbe9b62f76406cf2546d21f3ca27587ee20e0fc37 (patch)
treeb17fecf2c8fd0bf50b81bc47f92ad9d60718bb68 /apt-pkg/acquire-worker.h
parente92e897a6f47d4a5088f1362651476c160197b35 (diff)
add more dpointer placeholders
Diffstat (limited to 'apt-pkg/acquire-worker.h')
-rw-r--r--apt-pkg/acquire-worker.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/acquire-worker.h b/apt-pkg/acquire-worker.h
index 06283922e..62545829a 100644
--- a/apt-pkg/acquire-worker.h
+++ b/apt-pkg/acquire-worker.h
@@ -44,6 +44,9 @@
*/
class pkgAcquire::Worker : public WeakPointable
{
+ /** \brief dpointer placeholder (for later in case we need it) */
+ void *d;
+
friend class pkgAcquire;
protected:
@@ -314,7 +317,7 @@ class pkgAcquire::Worker : public WeakPointable
* Closes the file descriptors; if MethodConfig::NeedsCleanup is
* \b false, also rudely interrupts the worker with a SIGINT.
*/
- ~Worker();
+ virtual ~Worker();
};
/** @} */