aboutsummaryrefslogtreecommitdiff
path: root/src/event_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/event_manager.h')
-rw-r--r--src/event_manager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/event_manager.h b/src/event_manager.h
index 33d99b28c..f926922f5 100644
--- a/src/event_manager.h
+++ b/src/event_manager.h
@@ -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;
}
}
}