summaryrefslogtreecommitdiff
path: root/methods/mirror.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-03-05 00:28:39 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-03-05 00:28:39 +0100
commit13ad8ce30c129d2b204f0d13c730584b5a190044 (patch)
treea36fcf9c897ab916edf184694a4362ea13b1698f /methods/mirror.cc
parentb3c36c6e2f0c78797d1398e3176aac6a48b36295 (diff)
micro-optimize "(performance) Prefer prefix ++/-- operators for non-primitive types."
Diffstat (limited to 'methods/mirror.cc')
-rw-r--r--methods/mirror.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/mirror.cc b/methods/mirror.cc
index 3d5983efa..3b2ab8ede 100644
--- a/methods/mirror.cc
+++ b/methods/mirror.cc
@@ -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