diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-15 01:07:47 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-15 02:05:50 +0200 |
commit | e2150d04662a4ba8b5304dabcc74be0bacded5b7 (patch) | |
tree | cbeb05c2f056a7d5ac4a08e7b80799b5cfd4785b /src/event.cpp | |
parent | edda37acb9d66f2751ef712c83dced62428fa685 (diff) | |
download | plus-e2150d04662a4ba8b5304dabcc74be0bacded5b7.tar.gz plus-e2150d04662a4ba8b5304dabcc74be0bacded5b7.tar.bz2 plus-e2150d04662a4ba8b5304dabcc74be0bacded5b7.tar.xz plus-e2150d04662a4ba8b5304dabcc74be0bacded5b7.zip |
Fix code style, apply some fixes after checking with cppcheck from git.
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; } } |