summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-07-14 21:28:50 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-07-14 21:28:50 +0200
commit8e7ac74ad9dbd15a874c66632f6da22f6b23d9c6 (patch)
tree9ca19909a123829858c8cb5e236f1b2341f996ed /apt-pkg/algorithms.h
parent78485ab210b815c21ce55cb0cecb834ba5158e18 (diff)
parent118192bfd764d03af4cfcfc10eb9c38e7cc98721 (diff)
merge with debian-sid 0.8.15.2
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);};