diff options
author | Michael Vogt <mvo@debian.org> | 2011-04-04 16:49:21 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2011-04-04 16:49:21 +0200 |
commit | bee9ae120eeaf9f43c9688440fc3fdb8d02bf94a (patch) | |
tree | 16f267931477609dca384e60b02cf3819764e171 /apt-pkg/algorithms.h | |
parent | 3a1f49c42aae17c23d52486db21fb7c05734dbd2 (diff) | |
parent | 410327e1ee0fac0c28a95e45ea75f7359cc8dcb4 (diff) |
merged from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/algorithms.h')
-rw-r--r-- | apt-pkg/algorithms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index cf4a98c4f..ebe31cc10 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -108,7 +108,7 @@ class pkgProblemResolver /*{{{*/ public: - inline void Protect(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] |= Protected;}; + inline void Protect(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] |= Protected; Cache.MarkProtected(Pkg);}; inline void Remove(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] |= ToRemove;}; inline void Clear(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] &= ~(Protected | ToRemove);}; |