summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-30 19:29:44 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-30 19:29:44 +0200
commita521ca5d3fc6619529843779ea46500fa6e69e14 (patch)
treed6134e25dad5550e75768f8c9fbaabe75d81e541 /apt-pkg/acquire-worker.h
parent34904390bd6901f3de90249938baa0b875873534 (diff)
parent7abfcfbe8518d1b5cc79e967c3ac16c2f783d6ea (diff)
merged from experimental-apt-for-ubuntu
Diffstat (limited to 'apt-pkg/acquire-worker.h')
-rw-r--r--apt-pkg/acquire-worker.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/acquire-worker.h b/apt-pkg/acquire-worker.h
index 2942df69f..06283922e 100644
--- a/apt-pkg/acquire-worker.h
+++ b/apt-pkg/acquire-worker.h
@@ -20,6 +20,7 @@
#define PKGLIB_ACQUIRE_WORKER_H
#include <apt-pkg/acquire.h>
+#include <apt-pkg/weakptr.h>
/** \brief A fetch subprocess.
@@ -41,7 +42,7 @@
*
* \sa pkgAcqMethod, pkgAcquire::Item, pkgAcquire
*/
-class pkgAcquire::Worker
+class pkgAcquire::Worker : public WeakPointable
{
friend class pkgAcquire;