diff options
Diffstat (limited to 'src/event.cpp')
-rw-r--r-- | src/event.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event.cpp b/src/event.cpp index 1a48bddf8..49c79d34e 100644 --- a/src/event.cpp +++ b/src/event.cpp @@ -35,7 +35,7 @@ Event::~Event() { delete it->second; it->second = 0; - it++; + ++it; } } @@ -115,7 +115,7 @@ void Event::trigger(Channels channel, const Event &event) while (lit != it->second.end()) { (*lit)->event(channel, event); - lit++; + ++lit; } } @@ -125,7 +125,7 @@ void Event::remove(Listener *listener) while (it != mBindings.end()) { it->second.erase(listener); - it++; + ++it; } } |