summaryrefslogtreecommitdiff
path: root/apt-inst/extract.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-09-27 00:49:25 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-09-27 00:49:25 +0200
commit804de19f5f89a94d445edc3b1b1cf95b55f71258 (patch)
tree5024d4d126b020b038ae162821c6227cb9856ba8 /apt-inst/extract.cc
parent5e49cbb7b65a79cf76ba251f6493fbd75e812466 (diff)
fix: Prefer prefix ++/-- operators for non-primitive types
Git-Dch: Ignore Reported-By: cppcheck
Diffstat (limited to 'apt-inst/extract.cc')
-rw-r--r--apt-inst/extract.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-inst/extract.cc b/apt-inst/extract.cc
index b60784450..026182c18 100644
--- a/apt-inst/extract.cc
+++ b/apt-inst/extract.cc
@@ -404,7 +404,7 @@ bool pkgExtract::HandleOverwrites(pkgFLCache::NodeIterator Nde,
// Now see if this package matches one in a replace depends
pkgCache::DepIterator Dep = Ver.DependsList();
bool Ok = false;
- for (; Dep.end() == false; Dep++)
+ for (; Dep.end() == false; ++Dep)
{
if (Dep->Type != pkgCache::Dep::Replaces)
continue;