]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-show.cc
tests: fail testsuccess if notices are shown, too
[apt.git] / apt-private / private-show.cc
index aaa4268c628da8a7bdfa31b2d63a05fac30cd416..34214d9557353a765a653b19418e9286fd8413e5 100644 (file)
@@ -396,7 +396,7 @@ bool Policy(CommandLine &CmdL)
            continue;
         }
         // New code
-        for (pkgCache::VerIterator V = I.VersionList(); !V.end(); V++) {
+        for (pkgCache::VerIterator V = I.VersionList(); !V.end(); ++V) {
            auto Prio = Plcy->GetPriority(V, false);
            if (Prio == 0)
               continue;