diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-14 11:51:40 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-14 11:51:40 +0200 |
commit | 0dc01623882a8a51416e8635e76c941fc302abec (patch) | |
tree | 3d6c3bfb65618fc38473660c1f89e6fd294bd825 /apt-pkg/algorithms.h | |
parent | efd1da06d60b7ce4192fd3ca1fad55e018b7185e (diff) | |
parent | 118192bfd764d03af4cfcfc10eb9c38e7cc98721 (diff) |
merged from the debian-sid branch
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r-- | apt-pkg/algorithms.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index ebe31cc10..99501bed1 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -106,6 +106,9 @@ class pkgProblemResolver /*{{{*/ void MakeScores(); bool DoUpgrade(pkgCache::PkgIterator Pkg); + protected: + bool InstOrNewPolicyBroken(pkgCache::PkgIterator Pkg); + public: inline void Protect(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] |= Protected; Cache.MarkProtected(Pkg);}; |