summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-11 12:02:39 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-11 13:59:15 +0200
commita0a4d1433a42d581697adacb1c3c095df4b23a56 (patch)
treee0ee8520b8ac964b59b9b294daf0b373d7393542
parentf01090067bbc50312c8ac74714027da3a2f00e20 (diff)
Make QItem a subclass of DescItem
CurrentItem previously was a DescItem, so let's make QItem a DescItem to not break things.
-rw-r--r--apt-pkg/acquire.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h
index aa581dfb8..0d2b21233 100644
--- a/apt-pkg/acquire.h
+++ b/apt-pkg/acquire.h
@@ -419,23 +419,15 @@ class pkgAcquire::Queue
protected:
/** \brief A single item placed in this queue. */
- struct QItem : public WeakPointable
+ struct QItem : public ItemDesc
{
/** \brief The next item in the queue. */
QItem *Next;
/** \brief The worker associated with this item, if any. */
pkgAcquire::Worker *Worker;
- /** \brief The URI from which to download this item. */
- std::string URI;
- /** \brief A description of this item. */
- std::string Description;
- /** \brief A shorter description of this item. */
- std::string ShortDesc;
/** \brief The underlying items interested in the download */
std::vector<Item*> Owners;
- // both, backward compatibility and easy access as syncing is interal
- Item * Owner;
typedef std::vector<Item*>::const_iterator owner_iterator;