diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 20:50:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-01 20:50:59 +0000 |
commit | 17e9e5c47dab0b001399b587517fd5bdf73518a6 (patch) | |
tree | 2fd3a9f68728d4a43169c77083bd3d8da0eb512e /xmlsecurity/tools | |
parent | 3ceae8b493a7393a06f7433efd13920cd625c606 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'xmlsecurity/tools')
-rw-r--r-- | xmlsecurity/tools/demo/performance.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmlsecurity/tools/demo/performance.cxx b/xmlsecurity/tools/demo/performance.cxx index 76f4f41fd37e..b11a561ba7ab 100644 --- a/xmlsecurity/tools/demo/performance.cxx +++ b/xmlsecurity/tools/demo/performance.cxx @@ -1284,9 +1284,9 @@ void XSecTester::findKeyOrReference(SecurityEntity* pSecurityEntity, const rtl:: { (*ii_referenceRefNums) = nRefNum; - ii_referenceURIs++; - ii_referenceKeeperIds++; - ii_referenceRefNums++; + ++ii_referenceURIs; + ++ii_referenceKeeperIds; + ++ii_referenceRefNums; } if (bIsFindingKey) @@ -1296,9 +1296,9 @@ void XSecTester::findKeyOrReference(SecurityEntity* pSecurityEntity, const rtl:: } else { - ii_referenceURIs++; - ii_referenceKeeperIds++; - ii_referenceRefNums++; + ++ii_referenceURIs; + ++ii_referenceKeeperIds; + ++ii_referenceRefNums; } } } @@ -1610,7 +1610,7 @@ std::vector< AncestorEvent* >::const_iterator XSecTester::checkAncestorStartElem if (next != m_vAncestorEvents.end()) { - next++; + ++next; } } @@ -1637,7 +1637,7 @@ void XSecTester::flushAncestorEvents( else { sendAncestorEndElementEvent((*ii)->ouName, xDocumentHandler); - ii++; + ++ii; } } } |