mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 16:21:29 -04:00
optim: changed postfixed ++ into prefix++ for non trivial operators, replaced test on std::list::size() by std::list::empty() (Patch from Phenom, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
491a655889
commit
b593a918a0
99 changed files with 571 additions and 571 deletions
|
@ -164,7 +164,7 @@ void PeopleDialog::reloadAll()
|
|||
}//if(rsPeers->getGPGDetails(*it, details))
|
||||
}//for(it = friend_pgpIds.begin(); it != friend_pgpIds.end(); ++it)
|
||||
|
||||
for(it = all_pgpIds.begin(); it != all_pgpIds.end(); it++) {
|
||||
for(it = all_pgpIds.begin(); it != all_pgpIds.end(); ++it) {
|
||||
if(friend_set.end() != friend_set.find(*it)) {
|
||||
// already added as a friend.
|
||||
continue;
|
||||
|
@ -187,7 +187,7 @@ void PeopleDialog::reloadAll()
|
|||
idWidget->updateData(details) ;
|
||||
}//else ((itFound=_pgp_identity_widgets.find(gdItem.mPgpId)) == _pgp_identity_widgets.end())
|
||||
}//if(rsPeers->getGPGDetails(*it, details))
|
||||
}//for(it = all_pgpIds.begin(); it != all_pgpIds.end(); it++)
|
||||
}//for(it = all_pgpIds.begin(); it != all_pgpIds.end(); ++it)
|
||||
}
|
||||
|
||||
void PeopleDialog::insertIdList(uint32_t token)
|
||||
|
@ -262,7 +262,7 @@ void PeopleDialog::insertCircles(uint32_t token)
|
|||
return;
|
||||
}//if (!rsGxsCircles->getGroupSummary(token,gSummaryList))
|
||||
|
||||
for(gsIt = gSummaryList.begin(); gsIt != gSummaryList.end(); gsIt++) {
|
||||
for(gsIt = gSummaryList.begin(); gsIt != gSummaryList.end(); ++gsIt) {
|
||||
RsGroupMetaData gsItem = (*gsIt);
|
||||
|
||||
RsGxsCircleDetails details ;
|
||||
|
@ -336,7 +336,7 @@ void PeopleDialog::insertCircles(uint32_t token)
|
|||
//pictureFlowWidgetExternal->setSlide(index, pixmap);
|
||||
}//if((item=_circles_items.find(gsItem.mGroupId)) == _circles_items.end())
|
||||
}//else (!details.mIsExternal)
|
||||
}//for(gsIt = gSummaryList.begin(); gsIt != gSummaryList.end(); gsIt++)
|
||||
}//for(gsIt = gSummaryList.begin(); gsIt != gSummaryList.end(); ++gsIt)
|
||||
}
|
||||
|
||||
void PeopleDialog::requestIdList()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue