]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-install.h
warning: cast from type A to type B casts away qualifiers [-Wcast-qual]
[apt.git] / apt-private / private-install.h
index 439c89712b54306d307e2689d8a5ee706fd887f8..2187146d3248bba95f0af61b2cdb2bfc5eba9691 100644 (file)
@@ -95,6 +95,9 @@ struct TryToInstall {
         Cache->GetDepCache()->SetCandidateVersion(s->first);
 
       bool Success = true;
+      // the Changed list contains:
+      //   first: "new version" 
+      //   second: "what-caused the change" 
       std::list<std::pair<pkgCache::VerIterator, pkgCache::VerIterator> > Changed;
       for (std::list<std::pair<pkgCache::VerIterator, std::string> >::const_iterator s = start.begin();
                s != start.end(); ++s)