mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 09:11:06 -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
|
@ -1585,7 +1585,7 @@ std::ostream& RsMsgTags::print(std::ostream &out, uint16_t indent)
|
|||
|
||||
std::list<uint32_t>::iterator it;
|
||||
|
||||
for(it=tagIds.begin(); it != tagIds.end(); it++)
|
||||
for(it=tagIds.begin(); it != tagIds.end(); ++it)
|
||||
{
|
||||
printIndent(out, int_Indent);
|
||||
out << "tagId : " << *it << std::endl;
|
||||
|
@ -1982,7 +1982,7 @@ bool RsMsgTags::serialise(void *data, uint32_t& pktsize,bool config)
|
|||
ok &= setRawUInt32(data,tlvsize,&offset, msgId);
|
||||
|
||||
std::list<uint32_t>::iterator mit = tagIds.begin();
|
||||
for(;mit != tagIds.end(); mit++)
|
||||
for(;mit != tagIds.end(); ++mit)
|
||||
ok &= setRawUInt32(data, tlvsize, &offset, *mit);
|
||||
|
||||
if (offset != tlvsize)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue