]> git.saurik.com Git - apt.git/commitdiff
micro-optimize "(performance) Prefer prefix ++/-- operators for non-primitive types."
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 4 Mar 2012 23:28:39 +0000 (00:28 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 4 Mar 2012 23:28:39 +0000 (00:28 +0100)
methods/mirror.cc

index 3d5983efa59a49b3d7b67b633daadedb923ded50..3b2ab8ede38cf2c761bec7e7e37774b903d0b671 100644 (file)
@@ -147,7 +147,7 @@ bool MirrorMethod::DownloadMirrorFile(string mirror_uri_str)
    // append all architectures
    std::vector<std::string> vec = APT::Configuration::getArchitectures();
    for (std::vector<std::string>::const_iterator I = vec.begin();
-        I != vec.end(); I++)
+        I != vec.end(); ++I)
       if (I == vec.begin())
          fetch += "?arch" + (*I);
       else