summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-06-18 15:05:44 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-06-18 15:05:44 +0200
commit880964da11d0688a92576d98327420d0495453b8 (patch)
tree3a00e1dde10f2b1f37eca48b817d4ef4ea00f1a6
parent9eb0042bef1f1b6b1603fb234cdbc53fc76b2ce7 (diff)
apt-pkg/acquire-item.h: add default argument to ExpectedHashes to avoid API break
-rw-r--r--apt-pkg/acquire-item.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index b4cac2f04..bf12e48c8 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -289,7 +289,8 @@ class pkgAcquire::Item : public WeakPointable
* \param Owner The new owner of this item.
* \param ExpectedHashes of the file represented by this item
*/
- Item(pkgAcquire *Owner, HashStringList const &ExpectedHashes);
+ Item(pkgAcquire *Owner,
+ HashStringList const &ExpectedHashes=HashStringList());
/** \brief Remove this item from its owner's queue by invoking
* pkgAcquire::Remove.