cppcheck complains about some possible speed improvements which could be
[ntk/apt.git] / apt-pkg / deb / deblistparser.cc
index 73628c7..8d3f6f0 100644 (file)
@@ -203,7 +203,7 @@ string debListParser::DescriptionLanguage()
 
    std::vector<string> const lang = APT::Configuration::getLanguages(true);
    for (std::vector<string>::const_iterator l = lang.begin();
-       l != lang.end(); l++)
+       l != lang.end(); ++l)
       if (Section.FindS(string("Description-").append(*l).c_str()).empty() == false)
         return *l;