From 61d6a8de486f2262acbb47cea24f5dae143be8d1 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:01 +0000 Subject: Remove is not sticky Author: jgg Date: 1999-10-27 04:38:27 GMT Remove is not sticky --- apt-pkg/algorithms.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apt-pkg/algorithms.h') diff --git a/apt-pkg/algorithms.h b/apt-pkg/algorithms.h index 1603377f4..d68fbfbea 100644 --- a/apt-pkg/algorithms.h +++ b/apt-pkg/algorithms.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: algorithms.h,v 1.7 1999/07/09 04:11:34 jgg Exp $ +// $Id: algorithms.h,v 1.8 1999/10/27 04:38:27 jgg Exp $ /* ###################################################################### Algorithms - A set of misc algorithms @@ -91,7 +91,8 @@ class pkgProblemResolver inline void Protect(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] |= Protected;}; inline void Remove(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] |= ToRemove;}; - + inline void Clear(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] &= ~(Protected | ToRemove);}; + // Try to intelligently resolve problems by installing and removing packages bool Resolve(bool BrokenFix = false); -- cgit v1.2.3-70-g09d2