From e2150d04662a4ba8b5304dabcc74be0bacded5b7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Jan 2011 01:07:47 +0200 Subject: Fix code style, apply some fixes after checking with cppcheck from git. --- src/channelmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/channelmanager.cpp') 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::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::const_iterator itr = mChannels.begin(), end = mChannels.end(); itr != end; - itr++) + ++itr) { Channel *c = (*itr); if (!c) -- cgit v1.2.3-60-g2f50