diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-09-17 09:24:19 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-09-17 09:24:19 +0200 |
commit | 916b89109cd77728004819d4705778e3dc489b2e (patch) | |
tree | be5d48f995a43640388547424400679ab8313886 /apt-pkg/acquire-item.h | |
parent | 715c65de1f132aff9f040f0640e985018e4b564e (diff) |
fix gcc warnings
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r-- | apt-pkg/acquire-item.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index 622324347..0741ae60d 100644 --- a/apt-pkg/acquire-item.h +++ b/apt-pkg/acquire-item.h @@ -353,7 +353,7 @@ class pkgAcqMetaBase : public pkgAcquire::Item // transaction code void Add(Item *I); void AbortTransaction(); - bool TransactionHasError(); + bool TransactionHasError() APT_PURE; void CommitTransaction(); // helper for the signature warning @@ -885,7 +885,7 @@ class pkgAcqIndex : public pkgAcqBaseIndex std::string const &compExt); /** \brief Schedule file for verification after a IMS hit */ - void ReverifyAfterIMS(std::string const &FileName); + void ReverifyAfterIMS(); public: @@ -916,8 +916,7 @@ class pkgAcqIndex : public pkgAcqBaseIndex * fallback is ".gz" or none. */ pkgAcqIndex(pkgAcquire *Owner,std::string URI,std::string URIDesc, - std::string ShortDesc, HashStringList const &ExpectedHashes, - std::string compressExt=""); + std::string ShortDesc, HashStringList const &ExpectedHashes); pkgAcqIndex(pkgAcquire *Owner, pkgAcqMetaBase *TransactionManager, IndexTarget const * const Target, HashStringList const &ExpectedHash, |