mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-11 10:35:22 -04:00
changed post fixed operator++ into prefixed. More efficient on some systems. Patch from Phenom.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
880efee332
commit
d547cb6fdb
82 changed files with 717 additions and 718 deletions
|
@ -64,7 +64,7 @@ ContentValue::ContentValue(const ContentValue &from){
|
|||
char *src = NULL;
|
||||
uint32_t data_len = 0;
|
||||
|
||||
for(; cit != keyTypeMap.end(); cit++){
|
||||
for(; cit != keyTypeMap.end(); ++cit){
|
||||
|
||||
type = cit->second;
|
||||
currKey = cit->first;
|
||||
|
@ -303,7 +303,7 @@ void ContentValue::clearData(){
|
|||
std::map<std::string, std::pair<uint32_t, char*> >::iterator
|
||||
mit = mKvData.begin();
|
||||
|
||||
for(; mit != mKvData.end(); mit++){
|
||||
for(; mit != mKvData.end(); ++mit){
|
||||
|
||||
if(mit->second.first != 0)
|
||||
delete[] (mit->second.second);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue