]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.h
* apt-pkg/deb/debindexfile.cc:
[apt.git] / apt-pkg / acquire-worker.h
index 2942df69fd8460ff8a81df14912c94277e25b21e..06283922e5e4dbe41c951b083d2eefd866ee68e7 100644 (file)
@@ -20,6 +20,7 @@
 #define PKGLIB_ACQUIRE_WORKER_H
 
 #include <apt-pkg/acquire.h>
 #define PKGLIB_ACQUIRE_WORKER_H
 
 #include <apt-pkg/acquire.h>
+#include <apt-pkg/weakptr.h>
 
 
 /** \brief A fetch subprocess.
 
 
 /** \brief A fetch subprocess.
@@ -41,7 +42,7 @@
  *
  *  \sa pkgAcqMethod, pkgAcquire::Item, pkgAcquire
  */
  *
  *  \sa pkgAcqMethod, pkgAcquire::Item, pkgAcquire
  */
-class pkgAcquire::Worker
+class pkgAcquire::Worker : public WeakPointable
 {
    friend class pkgAcquire;
    
 {
    friend class pkgAcquire;