Kaynağa Gözat

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

Michael Vogt 12 yıl önce
ebeveyn
işleme
880964da11
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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.