Browse Source

micro-optimize "(performance) Prefer prefix ++/-- operators for non-primitive types."

David Kalnischkies 14 years ago
parent
commit
13ad8ce30c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      methods/mirror.cc

+ 1 - 1
methods/mirror.cc

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