summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-01 21:06:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-01 21:06:25 +0000
commit4a0bb837cd1c5e84ff892a7b8e02d33d753107f4 (patch)
treed34f1f5032be46d747a2780203b27b96f56ad51e /forms
parent17e9e5c47dab0b001399b587517fd5bdf73518a6 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/model.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index f7939cff3baf..787ba6639ba2 100644
--- a/forms/source/xforms/model.cxx
+++ b/forms/source/xforms/model.cxx
@@ -338,7 +338,7 @@ MIP Model::queryMIP( const XNode_t& xNode ) const
MIP aMIP;
MIPs_t::const_iterator aEnd = maMIPs.upper_bound( xCurrent );
MIPs_t::const_iterator aIter = maMIPs.lower_bound( xCurrent );
- for( ; aIter != aEnd; aIter++ )
+ for( ; aIter != aEnd; ++aIter )
aMIP.join( aIter->second.second );
// inherit from current node (or set if we are at the start node)