]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/clean.cc
merged from lp:~donkult/apt/sid
[apt.git] / apt-pkg / clean.cc
index 629afd7cf2a7849e4b8ff2798a39698e5a0c7019..9850b93b4bd460b5af5bc21a89b36c4ce3f20b7b 100644 (file)
@@ -85,12 +85,12 @@ bool pkgArchiveCleaner::Go(string Dir,pkgCache &Cache)
       if (P.end() != true)
       {
         pkgCache::VerIterator V = P.VersionList();
-        for (; V.end() == false; V++)
+        for (; V.end() == false; ++V)
         {
            // See if we can fetch this version at all
            bool IsFetchable = false;
            for (pkgCache::VerFileIterator J = V.FileList(); 
-                J.end() == false; J++)
+                J.end() == false; ++J)
            {
               if (CleanInstalled == true &&
                   (J.File()->Flags & pkgCache::Flag::NotSource) != 0)