summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-23 14:02:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-23 14:02:36 +0000
commit76bbd3d9e8394c2578df8dd6e83677d4a5d7816b (patch)
tree90f14e4741b41d36225f2bfc2e599495d768be5f /stoc
parentc7e4a291ecc791163001d08f95fb0e8493c6bcd7 (diff)
cppcheck: prefer prefix variant
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx b/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx
index 3cb4ebbf82dc..9feae0da9ef0 100644
--- a/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx
+++ b/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx
@@ -169,7 +169,7 @@ TypeDescriptionEnumerationImpl::createInstance(
"- Caught InvalidRegistryException!" );
}
- it++;
+ ++it;
}
if ( !bOpenKeySucceeded )
@@ -243,7 +243,7 @@ TypeDescriptionEnumerationImpl::~TypeDescriptionEnumerationImpl()
"- Caught exception!" );
}
- it++;
+ ++it;
}
g_moduleCount.modCnt.release( &g_moduleCount.modCnt );