mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -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
|
@ -116,7 +116,7 @@ bool RsAccountsDetail::selectAccountByString(const std::string &prefUserString)
|
|||
|
||||
bool pgpNameFound = false;
|
||||
std::map<RsPeerId, AccountDetails>::const_iterator it;
|
||||
for(it = mAccounts.begin() ; it!= mAccounts.end() ; it++)
|
||||
for(it = mAccounts.begin() ; it!= mAccounts.end() ; ++it)
|
||||
{
|
||||
std::cerr << "\tChecking account (pgpid = " << it->second.mPgpId;
|
||||
std::cerr << ", name=" << it->second.mPgpName << ", sslId=";
|
||||
|
@ -417,7 +417,7 @@ bool RsAccountsDetail::getAccountIds(std::list<RsPeerId> &ids)
|
|||
std::map<RsPeerId, AccountDetails>::iterator it;
|
||||
std::cerr << "getAccountIds:" << std::endl;
|
||||
|
||||
for(it = mAccounts.begin(); it != mAccounts.end(); it++)
|
||||
for(it = mAccounts.begin(); it != mAccounts.end(); ++it)
|
||||
{
|
||||
std::cerr << "SSL Id: " << it->second.mSslId << " PGP Id " << it->second.mPgpId;
|
||||
std::cerr << " PGP Name: " << it->second.mPgpName;
|
||||
|
@ -533,7 +533,7 @@ bool RsAccountsDetail::getAvailableAccounts(std::map<RsPeerId, AccountDetails> &
|
|||
/* close directory */
|
||||
dirIt.closedir();
|
||||
|
||||
for(it = directories.begin(); it != directories.end(); it++)
|
||||
for(it = directories.begin(); it != directories.end(); ++it)
|
||||
{
|
||||
// For V0.6 Accounts we expect format:
|
||||
// LOC06_xxxhexaxxx or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue