X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f5b622ed48fdbe235d81b61b3edd8dbb84d9cc9c..cd16c01df411b182c0cfbaff3a12b36084a79e13:/apt-pkg/algorithms.h?ds=inline diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index 050934bad..86d5fbd53 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -112,6 +112,9 @@ class pkgProblemResolver /*{{{*/ bool ResolveInternal(bool const BrokenFix = false); bool ResolveByKeepInternal(); + protected: + bool InstOrNewPolicyBroken(pkgCache::PkgIterator Pkg); + public: inline void Protect(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] |= Protected; Cache.MarkProtected(Pkg);};