]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/acquire-item.h: add default argument to ExpectedHashes to avoid API break
authorMichael Vogt <mvo@ubuntu.com>
Wed, 18 Jun 2014 13:05:44 +0000 (15:05 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Wed, 18 Jun 2014 13:05:44 +0000 (15:05 +0200)
apt-pkg/acquire-item.h

index b4cac2f04448b1b2a589d86ea6001b65ed36cf93..bf12e48c897083eb3801bc1cd80831de3c9e8329 100644 (file)
@@ -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.