From: Michael Vogt Date: Wed, 18 Jun 2014 13:05:44 +0000 (+0200) Subject: apt-pkg/acquire-item.h: add default argument to ExpectedHashes to avoid API break X-Git-Tag: 1.1.exp1~5 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/880964da11d0688a92576d98327420d0495453b8 apt-pkg/acquire-item.h: add default argument to ExpectedHashes to avoid API break --- 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.