Browse Source

apt-pkg/acquire-item.h: add default argument to ExpectedHashes to avoid API break

Michael Vogt 12 years ago
parent
commit
880964da11
1 changed files with 2 additions and 1 deletions
  1. 2 1
      apt-pkg/acquire-item.h

+ 2 - 1
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.