mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Change i++ to ++i
This commit is contained in:
parent
2480f2d06f
commit
34b7a147dc
41 changed files with 125 additions and 125 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
if(i != m_dest.end()){
|
||||
std::list<FuncSpec> &funcs = i->second.funcs;
|
||||
for(std::list<FuncSpec>::iterator i = funcs.begin();
|
||||
i != funcs.end(); i++){
|
||||
i != funcs.end(); ++i){
|
||||
(*(i->f))(e, i->d);
|
||||
}
|
||||
}
|
||||
|
@ -83,12 +83,12 @@ public:
|
|||
if(remove)
|
||||
funcs.erase(j++);
|
||||
else
|
||||
j++;
|
||||
++j;
|
||||
}
|
||||
}
|
||||
} else{
|
||||
for(std::map<std::string, Dest>::iterator
|
||||
i = m_dest.begin(); i != m_dest.end(); i++){
|
||||
i = m_dest.begin(); i != m_dest.end(); ++i){
|
||||
std::list<FuncSpec> &funcs = i->second.funcs;
|
||||
std::list<FuncSpec>::iterator j = funcs.begin();
|
||||
while(j != funcs.end()){
|
||||
|
@ -96,7 +96,7 @@ public:
|
|||
if(remove)
|
||||
funcs.erase(j++);
|
||||
else
|
||||
j++;
|
||||
++j;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue