]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/install-progress.cc
warning: cast from type A to type B casts away qualifiers [-Wcast-qual]
[apt.git] / apt-pkg / install-progress.cc
index fe065da4ff328bca61d6b439bddcaeb77207a7bd..aec74436011c86a5f0d088c523f2063e72cb8eae 100644 (file)
@@ -242,7 +242,7 @@ PackageManagerFancy::~PackageManagerFancy()
 void PackageManagerFancy::staticSIGWINCH(int signum)
 {
    std::vector<PackageManagerFancy *>::const_iterator I;
 void PackageManagerFancy::staticSIGWINCH(int signum)
 {
    std::vector<PackageManagerFancy *>::const_iterator I;
-   for(I = instances.begin(); I != instances.end(); I++)
+   for(I = instances.begin(); I != instances.end(); ++I)
       (*I)->HandleSIGWINCH(signum);
 }
 
       (*I)->HandleSIGWINCH(signum);
 }
 
@@ -371,5 +371,5 @@ bool PackageManagerText::StatusChanged(std::string PackageName,
 
 
 
 
 
 
-}; // namespace progress
-}; // namespace apt
+} // namespace progress
+} // namespace apt