X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/3090ae6972fd0e15767a96708c248f3ab87502f2..89497574da3dd40076d955efc936b54e76a8c59c:/apt-pkg/indexfile.h diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h index a09c39057..79abe2f4f 100644 --- a/apt-pkg/indexfile.h +++ b/apt-pkg/indexfile.h @@ -89,6 +89,7 @@ class IndexTarget /*{{{*/ COMPRESSIONTYPES, DEFAULTENABLED, SOURCESENTRY, + BY_HASH, }; std::string Option(OptionKeys const Key) const; bool OptionBool(OptionKeys const Key) const; @@ -167,7 +168,7 @@ public: virtual bool Merge(pkgCacheGenerator &Gen, OpProgress* const Prog) APT_OVERRIDE; virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const APT_OVERRIDE; - pkgDebianIndexFile(bool const Trusted); + explicit pkgDebianIndexFile(bool const Trusted); virtual ~pkgDebianIndexFile(); };