summaryrefslogtreecommitdiff
path: root/src/channelmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channelmanager.cpp')
-rw-r--r--src/channelmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channelmanager.cpp b/src/channelmanager.cpp
index 5bdea4637..261b464f7 100644
--- a/src/channelmanager.cpp
+++ b/src/channelmanager.cpp
@@ -41,7 +41,7 @@ Channel *ChannelManager::findById(int id) const
for (std::list<Channel*>::const_iterator itr = mChannels.begin(),
end = mChannels.end();
itr != end;
- itr++)
+ ++itr)
{
Channel *c = (*itr);
if (!c)
@@ -63,7 +63,7 @@ Channel *ChannelManager::findByName(const std::string &name) const
for (std::list<Channel*>::const_iterator itr = mChannels.begin(),
end = mChannels.end();
itr != end;
- itr++)
+ ++itr)
{
Channel *c = (*itr);
if (!c)