summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-install.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index acc6d42c2..3474d262a 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -419,7 +419,7 @@ static bool DoAutomaticRemove(CacheFile &Cache)
bool Changed;
do {
Changed = false;
- for (APT::PackageSet::const_iterator Pkg = tooMuch.begin();
+ for (APT::PackageSet::iterator Pkg = tooMuch.begin();
Pkg != tooMuch.end(); ++Pkg)
{
APT::PackageSet too;