summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index 81c79d812..9adc4e390 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -127,7 +127,7 @@ bool pkgDepCache::readStateFile(OpProgress *Prog)
if(!pkg.end() && !pkg.VersionList().end()) {
short reason = section.FindI("Auto-Installed", 0);
if(reason > 0)
- PkgState[pkg->ID].Flags |= pkgCache::Flag::Auto;
+ PkgState[pkg->ID].Flags |= Flag::Auto;
if(_config->FindB("Debug::pkgAutoRemove",false))
std::cout << "Auto-Installed : " << pkgname << std::endl;
amt+=section.size();
@@ -159,7 +159,7 @@ bool pkgDepCache::writeStateFile(OpProgress *prog)
std::ostringstream ostr;
for(pkgCache::PkgIterator pkg=Cache->PkgBegin(); !pkg.end();pkg++) {
- if(PkgState[pkg->ID].Flags & pkgCache::Flag::Auto) {
+ if(PkgState[pkg->ID].Flags & Flag::Auto) {
if(_config->FindB("Debug::pkgAutoRemove",false))
std::clog << "AutoInstal: " << pkg.Name() << std::endl;
ostr.str(string(""));