summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-14 11:30:02 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-14 11:30:02 +0200
commit118192bfd764d03af4cfcfc10eb9c38e7cc98721 (patch)
treeb42ff14ffa503efe9e00fb4b72ccaf3c5c36807d /apt-pkg/algorithms.h
parent89c4c588b275d098af33f36eeddea6fd75068342 (diff)
parentcf4904e1e0019fc09b9c53b587f5f4361ed26ec7 (diff)
merged from the mvo branch and add proper changelog
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r--apt-pkg/algorithms.h3
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);};